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
public class InvalidInputWorkflowException extends com.opensymphony.workflow.WorkflowException
WorkflowException
which can be thrown in aFunctionProvider
if the input is invalid.This is an validation error which will be handled in a special manner.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidInputWorkflowException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AllErrors
getErrors()
Get the errors that initiate the exception-
Methods 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 Detail
-
InvalidInputWorkflowException
public InvalidInputWorkflowException(String message, AllErrors allErrors)
Constructs a new invalid input workflow exception with the specified detail message.- Parameters:
allErrors
- The initial errorsmessage
- The detail message.
-
InvalidInputWorkflowException
public InvalidInputWorkflowException(String message, AllErrors allErrors, Throwable cause)
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
public InvalidInputWorkflowException(AllErrors allErrors, Throwable cause)
Constructs a new invalid input workflow exception with the specified cause.- Parameters:
allErrors
- The initial errorscause
- The cause.
-
-