public class PatternParseException extends IllegalArgumentException
Modifier and Type | Class and Description |
---|---|
static class |
PatternParseException.PatternMessage
The messages that can be included in a
PatternParseException when there is a parse failure. |
Modifier and Type | Method and Description |
---|---|
Object[] |
getInserts() |
String |
getMessage()
Return a formatted message with inserts applied.
|
PatternParseException.PatternMessage |
getMessageType() |
int |
getPosition() |
String |
toDetailedString()
Return a detailed message that includes the original pattern text
with a pointer to the error position, as well as the error message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public String getMessage()
getMessage
in class Throwable
public String toDetailedString()
public int getPosition()
public PatternParseException.PatternMessage getMessageType()
public Object[] getInserts()