public class ExceptionHandler extends Element
| Modifier and Type | Field and Description |
|---|---|
ObjectNode |
exceptionInput
An ObjectNode within the handlerBody.
|
ClassifierList |
exceptionType
The Classifiers whose instances the ExceptionHandler catches as exceptions.
|
ExecutableNode |
handlerBody
An ExecutableNode that is executed if the ExceptionHandler catches an
exception.
|
ExecutableNode |
protectedNode
The ExecutableNode protected by the ExceptionHandler.
|
ownedComment, ownedElement, owner| Constructor and Description |
|---|
ExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExceptionType(Classifier exceptionType) |
void |
setExceptionInput(ObjectNode exceptionInput) |
void |
setHandlerBody(ExecutableNode handlerBody) |
addOwnedElementgetHref, getXmiId, getXmiNamespace, setHref, setXmiId, setXmiNamespacepublic ObjectNode exceptionInput
public ClassifierList exceptionType
public ExecutableNode handlerBody
public ExecutableNode protectedNode
public void setExceptionInput(ObjectNode exceptionInput)
public void addExceptionType(Classifier exceptionType)
public void setHandlerBody(ExecutableNode handlerBody)
Copyright © 2023. All rights reserved.