public class InvalidPatternException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
pattern |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
InvalidPatternException(java.lang.String message,
java.lang.String pattern)
Constructor for InvalidPatternException
|
InvalidPatternException(java.lang.String message,
java.lang.String pattern,
java.lang.Throwable cause)
Constructor for InvalidPatternException
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPattern()
Get the invalid pattern
|
private static final long serialVersionUID
private final java.lang.String pattern
public InvalidPatternException(java.lang.String message,
java.lang.String pattern)
message - explains what was wrong with the pattern.pattern - the invalid pattern.public InvalidPatternException(java.lang.String message,
java.lang.String pattern,
java.lang.Throwable cause)
message - explains what was wrong with the pattern.pattern - the invalid pattern.cause - the cause.