public class PatternParseException
extends java.lang.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 |
---|---|
java.lang.Object[] |
getInserts() |
java.lang.String |
getMessage()
Return a formatted message with inserts applied.
|
PatternParseException.PatternMessage |
getMessageType() |
int |
getPosition() |
java.lang.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.
|
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String toDetailedString()
public int getPosition()
public PatternParseException.PatternMessage getMessageType()
public java.lang.Object[] getInserts()