Class ParseException

All Implemented Interfaces:
Serializable

public class ParseException extends RuntimeException
A custom exception that indicates a parsing error in the application. This exception is a subclass of RuntimeException and is typically used to signal invalid or unexpected input that cannot be correctly parsed.

The ParseException can be used in scenarios such as parsing time arguments or other user-provided data that fails to meet the expected format or value constraints.

See Also:
  • Constructor Details

    • ParseException

      public ParseException(String message)
      Constructs a new ParseException with the specified detail message. The message can be used to provide additional information about the parsing error.
      Parameters:
      message - the detail message indicating the cause of the parsing error
    • ParseException

      public ParseException()
      Constructs a new ParseException with no detail message.

      This constructor creates an instance of ParseException for use in signaling an error during parsing operations where specific detail about the error is not needed.

    • ParseException

      public ParseException(Exception exception)