public class PatternSyntaxException extends RuntimeException
java.util.regex.PatternSyntaxException, this is an
unchecked exception.| Constructor and Description |
|---|
PatternSyntaxException(String error) |
PatternSyntaxException(String error,
String input) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Retrieves the description of the error.
|
int |
getIndex()
Retrieves the error index.
|
String |
getPattern()
Retrieves the erroneous regular-expression pattern.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PatternSyntaxException(String error)
public int getIndex()
public String getDescription()
public String getPattern()
Copyright © 2016. All Rights Reserved.