Class ParsingException

  • All Implemented Interfaces:
    Serializable

    public class ParsingException
    extends RuntimeException
    Indicates that during parsing a non recoverable error has been occurred.
    Author:
    Ullrich Hafner
    See Also:
    Serialized Form
    • Constructor Detail

      • ParsingException

        public ParsingException​(Throwable cause)
        Constructs a new ParsingException with the specified cause.
        Parameters:
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method).
      • ParsingException

        @FormatMethod
        public ParsingException​(Throwable cause,
                                String messageFormat,
                                Object... args)
        Constructs a new ParsingException with the specified cause and message.
        Parameters:
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method).
        messageFormat - the message as a format string as described in Format string syntax
        args - Arguments referenced by the format specifiers in the format string. If there are more arguments than format specifiers, the extra arguments are ignored. The number of arguments is variable and may be zero. The maximum number of arguments is limited by the maximum dimension of a Java array as defined by The Java™ Virtual Machine Specification. The behaviour on a null argument depends on the conversion.
      • ParsingException

        @FormatMethod
        public ParsingException​(String messageFormat,
                                Object... args)
        Constructs a new ParsingException with the specified message.
        Parameters:
        messageFormat - the message as a format string as described in Format string syntax
        args - Arguments referenced by the format specifiers in the format string. If there are more arguments than format specifiers, the extra arguments are ignored. The number of arguments is variable and may be zero. The maximum number of arguments is limited by the maximum dimension of a Java array as defined by The Java™ Virtual Machine Specification. The behaviour on a null argument depends on the conversion.