Class PatternParseException

All Implemented Interfaces:
Serializable

public class PatternParseException extends IllegalArgumentException
Exception that is thrown when there is a problem with the pattern being parsed.
Since:
5.0
Author:
Andy Clement
See Also:
  • Method Details

    • getMessage

      public String getMessage()
      Return a formatted message with inserts applied.
      Overrides:
      getMessage in class Throwable
    • toDetailedString

      public String toDetailedString()
      Return a detailed message that includes the original pattern text with a pointer to the error position, as well as the error message.
    • getPosition

      public int getPosition()
    • getMessageType

      public PatternParseException.PatternMessage getMessageType()
    • getInserts

      public Object[] getInserts()