public class CalendarDateParseException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_EXCEPTION
On normal Exception
|
static int |
TYPE_INSUFFICIENT_SPLITTERS
If expected date splitters and entered splitters are not the same in count
|
static int |
TYPE_NO_SLPITTER_CHAR
If entered date has no splitter characters in it
|
static int |
TYPE_UNABLE_TO_PARSE_MONTH
If month parsing failed.
|
static int |
TYPE_UNKNOWN_CALENDAR_TYPE
If a calendar type defined in the Java calendar (such as YYYY) does not compute.
|
Constructor and Description |
---|
CalendarDateParseException(int type) |
CalendarDateParseException(java.lang.String message,
int type) |
CalendarDateParseException(java.lang.String message,
java.lang.Throwable cause,
int type) |
CalendarDateParseException(java.lang.Throwable cause,
int type) |
Modifier and Type | Method and Description |
---|---|
int |
getDateParseErrorType()
Returns the date parse error type.
|
public static final int TYPE_NO_SLPITTER_CHAR
public static final int TYPE_INSUFFICIENT_SPLITTERS
public static final int TYPE_UNKNOWN_CALENDAR_TYPE
public static final int TYPE_UNABLE_TO_PARSE_MONTH
public static final int TYPE_EXCEPTION
public CalendarDateParseException(int type)
public CalendarDateParseException(java.lang.String message, java.lang.Throwable cause, int type)
public CalendarDateParseException(java.lang.String message, int type)
public CalendarDateParseException(java.lang.Throwable cause, int type)
public int getDateParseErrorType()
TYPE_NO_SLPITTER_CHAR
, TYPE_INSUFFICIENT_SPLITTERS
,
TYPE_UNKNOWN_CALENDAR_TYPE
and 4