public class ValidationException extends RuntimeException
ValidationException represents a fatal error in the Validation Module. It is usually unrecoverable, and
propagates to the caller. This exception is only thrown for internal, technical errors, not for validation issues
in the input message.| Constructor | Description |
|---|---|
ValidationException(String message) |
Instantiates a new validation exception.
|
ValidationException(String message,
Throwable cause) |
Instantiates a new validation exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ValidationException(String message)
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).public ValidationException(String message, Throwable cause)
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null
value is permitted, and indicates that the cause is nonexistent or unknown.)Copyright © 2025. All rights reserved.