repository.grepcode.com$java$root@jdk$openjdk@7-b147
repository.grepcode.com$java$root@jdk$openjdk@7-b147@java$util$regex$PatternSyntaxException.java
file
oh
o
[]
Unchecked exception thrown to indicate a syntax error in a
regular-expression pattern.
- Author(s):
- unascribed
- Since:
- 1.4
- Spec:
- JSR-51
Constructs a new instance of this class.
- Parameters:
desc
A description of the errorregex
The erroneous patternindex
The approximate index in the pattern of the error,
or -1 if the index is not known
Retrieves the error index.
- Returns:
- The approximate index in the pattern of the error,
or -1 if the index is not known
Retrieves the description of the error.
- Returns:
- The description of the error
Retrieves the erroneous regular-expression pattern.
- Returns:
- The erroneous pattern
java.security.AccessController
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.
- Returns:
- The full detail message