Class ParseException

  • All Implemented Interfaces:
    Serializable

    public class ParseException
    extends Exception
    Encapsulate a parsing error.
    Version:
    $Id: a7e0e845a1cdc6a72995a9805a09076cecf406cf $
    See Also:
    Serialized Form
    • Constructor Detail

      • ParseException

        public ParseException​(String message)
        Construct a new ParseException with the specified detail message.
        Parameters:
        message - The detailed message. This can later be retrieved by the Throwable.getMessage() method.
      • ParseException

        public ParseException​(String message,
                              Throwable throwable)
        Construct a new ParseException with the specified detail message and cause.
        Parameters:
        message - The detailed message. This can later be retrieved by the Throwable.getMessage() method.
        throwable - the cause. This can be retrieved later by the Throwable.getCause() method. (A null value is permitted, and indicates that the cause is nonexistent or unknown)