Class InvalidValueException

All Implemented Interfaces:
Serializable

public class InvalidValueException extends RuntimeException
Thrown to indicate that a given value is invalid.

It may be thrown when a system property has an invalid value.
The exception message should contain in this case the name of the system property and the invalid value.
The message may also contain a description of the expected value.

See Also:
  • Constructor Details

    • InvalidValueException

      public InvalidValueException()
      Constructs a new invalid value exception with no details.
    • InvalidValueException

      public InvalidValueException(@Nullable @Nullable String message)
      Constructs a new invalid value exception with the specified message.
      Parameters:
      message - The message of the exception
    • InvalidValueException

      public InvalidValueException(@Nullable @Nullable String message, @Nullable @Nullable Throwable cause)
      Constructs a new invalid value exception with the specified message and cause.
      Parameters:
      message - The message of the exception
      cause - The cause of the exception
    • InvalidValueException

      public InvalidValueException(@Nullable @Nullable Throwable cause)
      Constructs a new invalid value exception with the specified cause.
      Parameters:
      cause - The cause of the exception