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,METermAble,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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionIf anACExceptionHandleris to be created between the protected node and the exception input pin, whereas the target of the selection is not anANInputPinbut aANCallBehaviororANOpaque, then this command will create and return the missingANInputPin, so that theACExceptionHandlercan be created correctly.An object node within the handler body.<T extends CLClassifier>
List<T> getExceptionType(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) The kind of instances that the handler catches.reconnect(ADClientAble ohNew, K_SIDE side, Point pos) Reconnects the exception handler.voidsetExceptionInput(ACObjectNode value) Set the value of Foreign Key ExceptionInput.voidsetExceptionType(List<? extends CLClassifier> values) Set the value of Foreign Key ExceptionType.voidsetHandlerBody(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, getStartAnalysisDiaMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistoryMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRelshipTypeList, getTabElementRowList, getTabElementRowTypeList, getTabRelshipList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModifyMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContentsMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwnerMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
deleteMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getNotificationElement, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnitMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUIDMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELValueContainerAble
getValueReUseAble, setValueReUseAbleMethods inherited from interface de.mid.innovator.srv2api.icw2model.MECommentAble
getAssignedComment, getAssignedComment, getCommentAssignMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEConstraintAble
getAssignedConstraint, getAssignedConstraint, getConstraintAssignMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEModelElement
buildProxyConnection, getActivityPartition, getConsider, getContentStereotypeByClass, getCreateTemplateByClass, getDataModel, getDataModelName, getElementColor, getFirstValidContentStereotype, getIgnore, getKnownTypeSystems, getMEModelName, getModelElement, getModelElement, getPresContext, getPresContext, getPresetMapping, getPRPresContent, setElementColorMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEStereotypeAble
getApplicableAnalysisDia, getClientMappingDependency, getDecisionMade, getDecisionOwned, getKnowledgeSourceOfOwner, getMappingTargetElement, getMappingTargetElement, getProxyAsgProperty, getRepresentingArtifact, getRequirementOfStakeholder, getRequirementOfStakeholderOwner, isMapped, setMapped, setRequirementOfStakeholderMethods inherited from interface de.mid.innovator.srv2api.icw2model.METermAble
getTerm, setTermMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble
getOutgoingConceptRealization, getOwnedComment, getRealizedConcept, getRealizedConcept, replaceRealizedConcepts, setRealizedConceptMethods 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 Details
-
createPinOnExceptionHandler
If anACExceptionHandleris to be created between the protected node and the exception input pin, whereas the target of the selection is not anANInputPinbut aANCallBehaviororANOpaque, then this command will create and return the missingANInputPin, so that theACExceptionHandlercan be created correctly.- Parameters:
item- ELElement instance- Throws:
InoNetExceptionSrvErrorException
-
reconnect
ACExceptionHandler reconnect(ADClientAble ohNew, K_SIDE side, Point pos) throws InoNetException, SrvErrorException Reconnects the exception handler.- Parameters:
ohNew-side-pos- Position (optional)- Throws:
InoNetExceptionSrvErrorException
-
getExceptionType
<T extends CLClassifier> List<T> getExceptionType(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) 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.behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException- Sorted:
- the result may sorted.
-
setExceptionType
void setExceptionType(List<? extends CLClassifier> values) throws InoNetException, SrvErrorException Set the value of Foreign Key ExceptionType.- Parameters:
values- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getHandlerBody
- Throws:
InoNetExceptionSrvErrorException
-
setHandlerBody
Set the value of Foreign Key HandlerBody.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getExceptionInput
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:
InoNetExceptionSrvErrorException
-
setExceptionInput
Set the value of Foreign Key ExceptionInput.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getProtectedNode
The node protected by the handler. The handler is examined if an exception propagates to the outside of the node.- Throws:
InoNetExceptionSrvErrorException
-