Package de.mid.innovator.srv2api.icw2ac
Interface ACExceptionHandler
-
- All Superinterfaces:
ADClientAble
,ADFindAble
,ADHistoryAble
,ADM2AttrModifyAble
,ELContainerAble
,ELContAsgnAble
,ELDeleteAble
,ELElement
,ELObject
,ELUUIDAble
,ELValueContainerAble
,MECommentAble
,MEConstraintAble
,MEModelElement
,MEStereotypeAble
,MMCommentContainerAble
,MMStereotypeAble
public interface ACExceptionHandler extends ADHistoryAble, MEConstraintAble, MEStereotypeAble, MECommentAble
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.- See Also:
ACExceptionHandlerHelper
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ACExceptionHandler.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ANInputPin
createPinOnExceptionHandler(ELElement item)
If anACExceptionHandler
is to be created between the protected node and the exception input pin, whereas the target of the selection is not anANInputPin
but aANCallBehavior
orANOpaque
, then this command will create and return the missingANInputPin
, so that theACExceptionHandler
can be created correctly.ACObjectNode
getExceptionInput()
An object node within the handler body.<T extends CLClassifier>
java.util.List<T>getExceptionType(java.lang.Class<T> returnType)
The kind of instances that the handler catches.ACExecutableNode
getHandlerBody()
ACExecutableNode
getProtectedNode()
ACExceptionHandler
reconnect(ADClientAble ohNew, K_SIDE side, java.awt.Point pos)
Reconnects the exception handler.void
setExceptionInput(ACObjectNode value)
Set the value of Foreign Key ExceptionInput.void
setExceptionType(java.util.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.icw2meta.ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDia
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistory
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRowList, getTabElementRowTypeList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModify
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContents
-
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.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.ELUUIDAble
getHyperlinkReferenceAble, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
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.MEConstraintAble
getAssignedConstraint, getAssignedConstraint, getConstraintAssign
-
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.icw2model.MEStereotypeAble
getApplicableAnalysisDia, getClientMappingDependency, getDecisionMade, getDecisionOwned, getKnowledgeSourceOfOwner, getMappingTargetElement, getMappingTargetElement, getProxyAsgProperty, getRepresentingArtifact, getRequirementOfStakeholder, getRequirementOfStakeholderOwner, isMapped, setMapped, setRequirementOfStakeholder
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble
getOutgoingConceptRealization, getOwnedComment, getRealizedConcept, getRealizedConcept, replaceRealizedConcepts, setRealizedConcept
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMStereotypeAble
assignStereotypeDlg, cloneElement, completelySynchronizeOthers, completelySynchronizeThis, getAttrCnstrEffective, getCreateTemplate, getDisplayType, getOwnedFormat, getOwnedStereotypePropertyValSpec, getOwnedStereotypeTSOptionValSpec, getOwnedSyncedElement, getPropBoolValue, getPropLongValue, getPropStringValue, getPropValueList, getStereoPropValueByPattern, getStereoPropValueByPattern, getStereotype, getStereotypeName, getStereotypeProperty, getStereotypePropertyInfo, getStereotypePropertyNameValue, getStereotypeTSOption, getStereotypeTSOptionBoolValue, getStereotypeTSOptionInfo, getStereotypeTSOptionLongValue, getStereotypeTSOptionNameValue, getStereotypeTSOptionStringValue, getStereotypeTSOptionValueByPattern, getStereotypeTSOptionValueByPattern, getStereotypeTSOptionValueList, getSyncedElement, getSyncedStereotypeAble, getSyncedStereotypeAble, isCloneAbleElement, modifyStereotypePropertyValuesByName, modifyStereotypeTSOptionValuesByName, setStereotype, setStereotypePropertyInfo, setStereotypeTSOptionInfo, setSyncedStereotypeAble
-
-
-
-
Method Detail
-
createPinOnExceptionHandler
ANInputPin createPinOnExceptionHandler(ELElement item) throws InoNetException, SrvErrorException
If anACExceptionHandler
is to be created between the protected node and the exception input pin, whereas the target of the selection is not anANInputPin
but aANCallBehavior
orANOpaque
, then this command will create and return the missingANInputPin
, so that theACExceptionHandler
can be created correctly.- Parameters:
item
- ELElement instance- Throws:
InoNetException
SrvErrorException
-
reconnect
ACExceptionHandler reconnect(ADClientAble ohNew, K_SIDE side, java.awt.Point pos) throws InoNetException, SrvErrorException
Reconnects the exception handler.- Parameters:
ohNew
-side
-pos
- Position (optional)- Throws:
InoNetException
SrvErrorException
-
getExceptionType
<T extends CLClassifier> java.util.List<T> getExceptionType(java.lang.Class<T> returnType) throws InoNetException, SrvErrorException
The kind of instances that the handler catches. If an exception occurs whose type is any of the classifiers in the set, the handler catches the exception and executes its body.- Parameters:
returnType
- Specifies the type of elements to be returned.- Throws:
InoNetException
SrvErrorException
- Sorted:
- the result may sorted.
-
setExceptionType
void setExceptionType(java.util.List<? extends CLClassifier> values) throws InoNetException, SrvErrorException
Set the value of Foreign Key ExceptionType.- Parameters:
values
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getHandlerBody
ACExecutableNode getHandlerBody() throws InoNetException, SrvErrorException
- Throws:
InoNetException
SrvErrorException
-
setHandlerBody
void setHandlerBody(ACExecutableNode value) throws InoNetException, SrvErrorException
Set the value of Foreign Key HandlerBody.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getExceptionInput
ACObjectNode getExceptionInput() throws InoNetException, SrvErrorException
An object node within the handler body. When the handler catches an exception, the exception token is placed in this node which causes the body to execute. Handler body.- Throws:
InoNetException
SrvErrorException
-
setExceptionInput
void setExceptionInput(ACObjectNode value) throws InoNetException, SrvErrorException
Set the value of Foreign Key ExceptionInput.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getProtectedNode
ACExecutableNode getProtectedNode() throws InoNetException, SrvErrorException
The node protected by the handler. The handler is examined if an exception propagates to the outside of the node.- Throws:
InoNetException
SrvErrorException
-
-