|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A representation of the model object 'Exception Handler'. (ExtraStructuredActivities) An exception handler is an element that specifies a body to execute in case the specified exception occurs during the execution of the protected node.
The following features are supported:
UML2Package.getExceptionHandler()| Field Summary | |
static String |
copyright
|
| Method Summary | |
ObjectNode |
getExceptionInput()
Returns the value of the 'Exception Input' reference |
Classifier |
getExceptionType(String unqualifiedName)
Retrieves the Classifier with the specified name from the 'Exception Type' reference list |
EList |
getExceptionTypes()
Returns the value of the 'Exception Type' reference list. |
ExecutableNode |
getHandlerBody()
Returns the value of the 'Handler Body' reference |
Element |
getOwner()
|
ExecutableNode |
getProtectedNode()
Returns the value of the 'Protected Node' container reference. |
void |
setExceptionInput(ObjectNode value)
Sets the value of the ' Exception Input' reference |
void |
setHandlerBody(ExecutableNode value)
Sets the value of the ' Handler Body' reference |
void |
setProtectedNode(ExecutableNode value)
Sets the value of the ' Protected Node' container reference |
| Methods inherited from interface org.eclipse.uml2.Element |
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf |
| Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
getEAnnotation, getEAnnotations |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
| Field Detail |
public static final String copyright
| Method Detail |
public ExecutableNode getProtectedNode()
Handler'.
If the meaning of the 'Protected Node' container reference isn't clear, there really should be more of a description here...
The node protected by the handler. The handler is examined if an exception propagates to the outside of the node.
setProtectedNode(ExecutableNode),
UML2Package.getExceptionHandler_ProtectedNode(),
ExecutableNode.getHandlers()public void setProtectedNode(ExecutableNode value)
Protected Node' container reference.
value - the new value of the 'Protected Node' container reference.getProtectedNode()public ExecutableNode getHandlerBody()
If the meaning of the 'Handler Body' reference isn't clear, there really should be more of a description here...
A node that is executed if the handler satisfies an uncaught exception.
setHandlerBody(ExecutableNode),
UML2Package.getExceptionHandler_HandlerBody()public void setHandlerBody(ExecutableNode value)
Handler Body' reference.
value - the new value of the 'Handler Body' reference.getHandlerBody()public ObjectNode getExceptionInput()
If the meaning of the 'Exception Input' reference isn't clear, there really should be more of a description here...
setExceptionInput(ObjectNode),
UML2Package.getExceptionHandler_ExceptionInput()public void setExceptionInput(ObjectNode value)
Exception Input' reference.
value - the new value of the 'Exception Input' reference.getExceptionInput()public EList getExceptionTypes()
Classifier.
If the meaning of the 'Exception Type' reference list isn't clear, there really should be more of a description here...
UML2Package.getExceptionHandler_ExceptionType()public Classifier getExceptionType(String unqualifiedName)
Classifier with the specified name from the 'Exception Type' reference list.
unqualifiedName - The unqualified name of the Classifier to retrieve.
Classifier with the specified name, or null.getExceptionTypes()public Element getOwner()
getOwner in interface ElementUML2Package.getElement_Owner(),
Element.getOwnedElements()
|
Copyright 2003, 2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||