Class InvalidWorkflowDefinitionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.yworkflow.common.error.WorkflowException
com.yworkflow.definition.model.error.InvalidWorkflowDefinitionException
- All Implemented Interfaces:
Serializable
Exception thrown when a workflow definition is invalid or contains errors.
InvalidWorkflowDefinitionException is used to indicate that a workflow definition failed
validation and cannot be used to create workflow instances.
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidWorkflowDefinitionException(List<ValidationError> validationErrors) Creates a new InvalidWorkflowDefinitionException with the specified validation errors. -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of validation errors that caused this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidWorkflowDefinitionException
Creates a new InvalidWorkflowDefinitionException with the specified validation errors.- Parameters:
validationErrors- the list of validation errors found in the workflow definition
-
-
Method Details
-
getValidationErrors
Returns the list of validation errors that caused this exception.- Returns:
- the list of validation errors
-