Example usage for Java java.util.regex PatternSyntaxException fields, constructors, methods, implement or subclass
The text is from its open source code.
PatternSyntaxException(String desc, String regex, int index) Constructs a new instance of this class. |
Class> | getClass() Returns the runtime class of this Object . |
String | getDescription() Retrieves the description of the error. |
int | getIndex() Retrieves the error index. |
String | getLocalizedMessage() Creates a localized description of this throwable. |
String | getMessage() Returns a multi-line string containing the description of the syntax error and its index, the erroneous regular-expression pattern, and a visual indication of the error index within the pattern. |
String | getPattern() Retrieves the erroneous regular-expression pattern. |
void | printStackTrace() Prints this throwable and its backtrace to the standard error stream. |
void | printStackTrace(PrintStream s) Prints this throwable and its backtrace to the specified print stream. |
String | toString() Returns a short description of this throwable. |