Class OrphanTransitionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.scivicslab.pojoactor.workflow.kustomize.OrphanTransitionException
- All Implemented Interfaces:
Serializable
Exception thrown when a patch contains a new transition without an anchor.
When adding new transitions via overlay, the patch must include at least one transition that matches an existing transition in the base workflow (an "anchor"). New transitions are inserted relative to the anchor's position.
If a patch contains only transitions that don't exist in the base, this exception is thrown because the insertion position cannot be determined.
- Since:
- 2.12.0
- Author:
- devteam@scivicslab.com
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOrphanTransitionException(String label, String patchFile) Constructs a new OrphanTransitionException. -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()Gets the label of the orphan transition.Gets the patch file name.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OrphanTransitionException
Constructs a new OrphanTransitionException.- Parameters:
label- the label of the orphan transitionpatchFile- the patch file containing the orphan transition
-
-
Method Details
-
getLabel
Gets the label of the orphan transition.- Returns:
- the transition label
-
getPatchFile
Gets the patch file name.- Returns:
- the patch file name
-