|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
public interface ACExceptionHandler
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.
ACExceptionHandlerHelper| Nested Class Summary | |
|---|---|
static class |
ACExceptionHandler.VAttr
|
| Method Summary | ||
|---|---|---|
ANInputPin |
createPinOnExceptionHandler(ELElement item)
If an ACExceptionHandler is to be created between the protected node and the exception input pin, whereas the target of the selection is not an ANInputPin but a ANCallBehavior or ANOpaque, then this command will create and return the missing ANInputPin, so that the ACExceptionHandler can be created correctly. |
|
ACObjectNode |
getExceptionInput()
An object node within the handler body. |
|
|
getExceptionType(Class<T> returnType)
The kind of instances that the handler catches. |
|
ACExecutableNode |
getHandlerBody()
A node that is executed if the handler satisfies an uncaught exception. |
|
ACExecutableNode |
getProtectedNode()
The node protected by the handler. |
|
ACExceptionHandler |
reconnect(ADClientAble ohNew,
K_SIDE side,
Point pos)
Reconnects the exception handler. |
|
void |
setExceptionInput(ACObjectNode value)
Set the value of Foreign Key ExceptionInput. |
|
void |
setExceptionType(List<? extends CLClassifier> values)
Set the value of Foreign Key ExceptionType. |
|
void |
setHandlerBody(ACExecutableNode value)
Set the value of Foreign Key HandlerBody. |
|
| Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEConstraintAble |
|---|
getAssignedConstraint, getAssignedConstraint, getConstraintAssign |
| Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEStereotypeAble |
|---|
getClientMappingDependency, getOutgoingConceptRealization, getProxyAsgProperty, getRealizedConcept, getRealizedConcept, getRepresentingArtifact, getRequirementOfStakeholder, getRequirementOfStakeholderOwner, isMapped, replaceRealizedConcepts, setMapped, setRealizedConcept, setRequirementOfStakeholder |
| Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble |
|---|
getOwnedComment |
| Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble |
|---|
delete |
| Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELElement |
|---|
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnit |
| Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject |
|---|
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead |
| Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble |
|---|
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwner |
| Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELValueContainerAble |
|---|
getValueReUseAble, setValueReUseAble |
| Methods inherited from interface de.mid.innovator.srv2api.icw2model.MECommentAble |
|---|
getAssignedComment, getAssignedComment, getCommentAssign |
| Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEModelElement |
|---|
buildProxyConnection, getActivityPartition, getConsider, getContentStereotypeByClass, getCreateTemplateByClass, getElementColor, getFirstValidContentStereotype, getIgnore, getKnownTypeSystems, getMEModelName, getModelElement, getModelElement, getPresContext, getPresContext, getPresetMapping, getPRPresContent, setElementColor |
| Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble |
|---|
getAnnotation, getLogic, getLogic, getPresentationContext, getSection |
| Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble |
|---|
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRowList, getTabElementRowTypeList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModify |
| Method Detail |
|---|
ANInputPin createPinOnExceptionHandler(ELElement item)
throws InoNetException,
SrvErrorException
ACExceptionHandler is to be created between the protected node and the exception input pin, whereas the target of the selection is not an ANInputPin but a ANCallBehavior or ANOpaque, then this command will create and return the missing ANInputPin, so that the ACExceptionHandler can be created correctly.
item - ELElement instance
InoNetException
SrvErrorException
ACObjectNode getExceptionInput()
throws InoNetException,
SrvErrorException
InoNetException
SrvErrorException
<T extends CLClassifier> List<T> getExceptionType(Class<T> returnType)
throws InoNetException,
SrvErrorException
returnType - Specifies the type of elements to be returned.
InoNetException
SrvErrorException
ACExecutableNode getHandlerBody()
throws InoNetException,
SrvErrorException
InoNetException
SrvErrorException
ACExecutableNode getProtectedNode()
throws InoNetException,
SrvErrorException
InoNetException
SrvErrorException
ACExceptionHandler reconnect(ADClientAble ohNew,
K_SIDE side,
Point pos)
throws InoNetException,
SrvErrorException
ohNew - side - pos - Position (optional)
InoNetException
SrvErrorException
void setExceptionInput(ACObjectNode value)
throws InoNetException,
SrvErrorException
value - The value to be set.
InoNetException
SrvErrorException
void setExceptionType(List<? extends CLClassifier> values)
throws InoNetException,
SrvErrorException
values - The value to be set.
InoNetException
SrvErrorException
void setHandlerBody(ACExecutableNode value)
throws InoNetException,
SrvErrorException
value - The value to be set.
InoNetException
SrvErrorException
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||