Class InvalidTransitionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.yworkflow.common.error.WorkflowException
com.yworkflow.definition.model.error.InvalidTransitionException
- All Implemented Interfaces:
Serializable
Exception thrown when a transition is invalid or cannot be executed. InvalidTransitionException
is a specialized exception for transition-related errors, providing specific information about
the invalid transition.
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidTransitionException(TransitionId transitionId) Creates a new InvalidTransitionException for the specified transition. -
Method Summary
Modifier and TypeMethodDescriptionGets the ID of the invalid transition.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidTransitionException
Creates a new InvalidTransitionException for the specified transition.- Parameters:
transitionId- the ID of the invalid transition
-
-
Method Details
-
getTransitionId
Gets the ID of the invalid transition.- Returns:
- the transition ID
-
getMessage
- Overrides:
getMessagein classThrowable
-