public class PatternSyntaxException extends IllegalArgumentException
Constructor and Description |
---|
PatternSyntaxException(String desc,
String regex,
int index)
Constructs a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Retrieves the description of the error.
|
int |
getIndex()
Retrieves the error index.
|
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public int getIndex()
public String getDescription()
public String getPattern()
public String getMessage()
getMessage
in class Throwable
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.