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 a FunctionProvider if the input is invalid.

This is an validation error which will be handled in a special manner.

See Also:
  • Constructor Details

    • InvalidInputWorkflowException

      public InvalidInputWorkflowException(String message, AllErrors allErrors)
      Constructs a new invalid input workflow exception with the specified detail message.
      Parameters:
      allErrors - The initial errors
      message - 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 errors
      cause - The cause.
    • InvalidInputWorkflowException

      Constructs a new invalid input workflow exception with the specified cause.
      Parameters:
      allErrors - The initial errors
      cause - The cause.
  • Method Details

    • getErrors

      public AllErrors getErrors()
      Get the errors that initiate the exception
      Returns:
      The errors