Class PatternSyntaxException


public class PatternSyntaxException extends IllegalArgumentException
The same shape as java.util.regex.PatternSyntaxException: a pattern that is not one, or that uses a construct this runtime does not have -- the description says which.
  • Constructor Details

    • PatternSyntaxException

      public PatternSyntaxException(String description, String regex, int index)
  • Method Details

    • getIndex

      public int getIndex()
    • getDescription

      public String getDescription()
    • getPattern

      public String getPattern()
    • getMessage

      public String getMessage()
      Description copied from class: Throwable
      Returns the error message string of this Throwable object.
      Overrides:
      getMessage in class Throwable