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
ConstructorDescriptionInvalidInputWorkflowException
(String message, ValidationResults validationResults) Constructs a new invalid input workflow exception with the specified detail message.InvalidInputWorkflowException
(String message, ValidationResults validationResults, Throwable cause) Constructs a new invalid input workflow exception with the specified detail message and cause.InvalidInputWorkflowException
(ValidationResults validationResults, Throwable cause) Constructs a new invalid input workflow exception with the specified cause. -
Method Summary
Modifier and TypeMethodDescriptionGet the validation results that initiate the exceptionMethods inherited from class com.opensymphony.workflow.WorkflowException
getCause, getMessage, getRootCause, printStackTrace, printStackTrace, printStackTrace
Methods 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:
validationResults
- The validation resultsmessage
- The detail message.
-
InvalidInputWorkflowException
public InvalidInputWorkflowException(String message, ValidationResults validationResults, Throwable cause) Constructs a new invalid input workflow exception with the specified detail message and cause.- Parameters:
message
- The detail message.validationResults
- The validation resultscause
- The cause.
-
InvalidInputWorkflowException
Constructs a new invalid input workflow exception with the specified cause.- Parameters:
validationResults
- The validation resultscause
- The cause.
-
-
Method Details
-
getValidationResults
Get the validation results that initiate the exception- Returns:
- The validation results
-