|
||||||||||||
| 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 java.lang.String |
copyright
|
| Method Summary | |
|---|---|
ObjectNode |
getExceptionInput()
Returns the value of the 'Exception Input' reference |
Classifier |
getExceptionType(java.lang.String name)
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 |
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, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getValue, hasKeyword, hasValue, 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 java.lang.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(java.lang.String name)
Classifier with the specified 'Name' from the 'Exception Type' reference list.
name - The 'Name' of the Classifier to retrieve.
Classifier with the specified 'Name', or null.getExceptionTypes()
|
Copyright 2003, 2005 IBM Corporation and others. All Rights Reserved. |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||