public class PatternException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
PatternException(java.lang.String pattern,
java.lang.String message)
Standard constructor.
|
PatternException(java.lang.String pattern,
java.lang.Throwable t)
Constructor for underlying
java.util.regex.PatternSyntaxException
or java.text.ParseException. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPattern()
Returns the pattern that caused this exception.
|
public PatternException(java.lang.String pattern,
java.lang.String message)
pattern - the pattern that caused this exceptionmessage - additional error message for loggingpublic PatternException(java.lang.String pattern,
java.lang.Throwable t)
java.util.regex.PatternSyntaxException
or java.text.ParseException.pattern - the pattern that caused this exceptiont - the underlying exception