Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.bonitasoft.processbuilder.extension.ValidationException
- All Implemented Interfaces:
Serializable
Exception thrown when validation of input parameters fails.
This exception is typically used in REST API extensions to signal validation errors.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionValidationException(String message) Constructs a new ValidationException with the specified detail message.ValidationException(String message, Throwable cause) Constructs a new ValidationException with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValidationException
Constructs a new ValidationException with the specified detail message.- Parameters:
message- the detail message explaining the validation failure
-
ValidationException
Constructs a new ValidationException with the specified detail message and cause.- Parameters:
message- the detail message explaining the validation failurecause- the cause of the validation failure
-