Java java.util.regex PatternSyntaxException fields, constructors, methods, implement or subclass

Example usage for Java java.util.regex PatternSyntaxException fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util.regex PatternSyntaxException.

The text is from its open source code.

Constructor

PatternSyntaxException(String desc, String regex, int index)
Constructs a new instance of this class.

Method

ClassgetClass()
Returns the runtime class of this Object .
StringgetDescription()
Retrieves the description of the error.
intgetIndex()
Retrieves the error index.
StringgetLocalizedMessage()
Creates a localized description of this throwable.
StringgetMessage()
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.
StringgetPattern()
Retrieves the erroneous regular-expression pattern.
voidprintStackTrace()
Prints this throwable and its backtrace to the standard error stream.
voidprintStackTrace(PrintStream s)
Prints this throwable and its backtrace to the specified print stream.
StringtoString()
Returns a short description of this throwable.