Class ValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.bonitasoft.processbuilder.extension.ValidationException
All Implemented Interfaces:
Serializable

public class ValidationException extends Exception
Exception thrown when validation of input parameters fails. This exception is typically used in REST API extensions to signal validation errors.
See Also:
  • Constructor Details

    • ValidationException

      public ValidationException(String message)
      Constructs a new ValidationException with the specified detail message.
      Parameters:
      message - the detail message explaining the validation failure
    • ValidationException

      public ValidationException(String message, Throwable cause)
      Constructs a new ValidationException with the specified detail message and cause.
      Parameters:
      message - the detail message explaining the validation failure
      cause - the cause of the validation failure