Package org.ametys.cms.workflow
Class InvalidInputWorkflowException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.opensymphony.workflow.WorkflowException
org.ametys.cms.workflow.InvalidInputWorkflowException
- All Implemented Interfaces:
Serializable
WorkflowException which can be thrown in a FunctionProvider
if the input is invalid.This is an validation error which will be handled in a special manner.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidInputWorkflowException(String message, AllErrors allErrors) Constructs a new invalid input workflow exception with the specified detail message.InvalidInputWorkflowException(String message, AllErrors allErrors, Throwable cause) Constructs a new invalid input workflow exception with the specified detail message and cause.InvalidInputWorkflowException(AllErrors allErrors, Throwable cause) Constructs a new invalid input workflow exception with the specified cause. -
Method Summary
Methods inherited from class com.opensymphony.workflow.WorkflowException
getCause, getMessage, getRootCause, printStackTrace, printStackTrace, printStackTraceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
InvalidInputWorkflowException
Constructs a new invalid input workflow exception with the specified detail message.- Parameters:
allErrors- The initial errorsmessage- The detail message.
-
InvalidInputWorkflowException
Constructs a new invalid input workflow exception with the specified detail message and cause.- Parameters:
message- The detail message.allErrors- The initial errorscause- The cause.
-
InvalidInputWorkflowException
Constructs a new invalid input workflow exception with the specified cause.- Parameters:
allErrors- The initial errorscause- The cause.
-
-
Method Details
-
getErrors
Get the errors that initiate the exception- Returns:
- The errors
-