File-By-File
ValidationException

ValidationException

This exception is thrown whenever there's an issue validating a value. This typically occurs when a value does not meet the expected criteria (e.g., a number is NaN or infinite, an object is null).

Methods

ValidationException(String message)

Constructs a new ValidationException with the specified detail message.

  • message: The detail message (a String) explaining the reason for the exception.