Class ParserException

All Implemented Interfaces:
Serializable

public class ParserException extends InternalErrorException
This exception raises when some parsing problem occur (regex, matcher, pattern, etc.)
Author:
Michal Stava <stavamichal@gmail.com>
See Also:
  • Constructor Details

    • ParserException

      public ParserException(String message)
      Simple constructor with a message
      Parameters:
      message - message with details about the cause
    • ParserException

      public ParserException(String message, String parsedValue)
      Constructor with a message and parsed value
      Parameters:
      message - message with details about the cause
      parsedValue - the value that is to be parsed
    • ParserException

      public ParserException(String message, Throwable cause)
      Constructor with a message and Throwable object
      Parameters:
      message - message with details about the cause
      cause - Throwable that caused throwing of this exception
    • ParserException

      public ParserException(String message, Throwable cause, String parsedValue)
      Constructor with a message, parsed value and the cause
      Parameters:
      message - message with details about the cause
      parsedValue - the value that is to be parsed
      cause - Throwable that caused throwing of this exception
    • ParserException

      public ParserException(Throwable cause)
      Constructor with a Throwable object
      Parameters:
      cause - Throwable that caused throwing of this exception
    • ParserException

      public ParserException(Throwable cause, String parsedValue)
      Constructor with a Throwable object and parsed value
      Parameters:
      cause - Throwable that caused throwing of this exception
      parsedValue - the value that is to be parsed
  • Method Details

    • getParsedValue

      public String getParsedValue()
      Getter for the parsed value
      Returns:
      the value that is to be parsed