Class XMLConversionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.persistence.exceptions.EclipseLinkException
-
- org.eclipse.persistence.exceptions.XMLConversionException
-
- All Implemented Interfaces:
java.io.Serializable
public class XMLConversionException extends EclipseLinkException
Purpose: XML conversion exceptions are raised for any problem when converting Java types to/from XML.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
ERROR_CREATE_URL
static int
INCORRECT_G_DAY_FORMAT
static int
INCORRECT_G_MONTH_DAY_FORMAT
static int
INCORRECT_G_MONTH_FORMAT
static int
INCORRECT_G_YEAR_FORMAT
static int
INCORRECT_G_YEAR_MONTH_FORMAT
static int
INCORRECT_TIMESTAMP_DATE_TIME_FORMAT
static int
INCORRECT_TIMESTAMP_TIME_FORMAT
-
Fields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
-
-
Constructor Summary
Constructors Modifier Constructor Description XMLConversionException(java.lang.String message)
protected
XMLConversionException(java.lang.String message, java.lang.Exception internalException)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XMLConversionException
errorCreateURLForFile(java.lang.String fileName, java.lang.Exception internalException)
static XMLConversionException
incorrectGDayFormat(java.lang.String dateString)
static XMLConversionException
incorrectGMonthDayFormat(java.lang.String dateString)
static XMLConversionException
incorrectGMonthFormat(java.lang.String dateString)
static XMLConversionException
incorrectGYearFormat(java.lang.String dateString)
static XMLConversionException
incorrectGYearMonthFormat(java.lang.String dateString)
static XMLConversionException
incorrectTimestampDateTimeFormat(java.lang.String dateString)
static XMLConversionException
incorrectTimestampTimeFormat(java.lang.String dateString)
-
Methods inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
-
-
-
-
Field Detail
-
ERROR_CREATE_URL
public static final int ERROR_CREATE_URL
- See Also:
- Constant Field Values
-
INCORRECT_G_DAY_FORMAT
public static final int INCORRECT_G_DAY_FORMAT
- See Also:
- Constant Field Values
-
INCORRECT_G_MONTH_FORMAT
public static final int INCORRECT_G_MONTH_FORMAT
- See Also:
- Constant Field Values
-
INCORRECT_G_MONTH_DAY_FORMAT
public static final int INCORRECT_G_MONTH_DAY_FORMAT
- See Also:
- Constant Field Values
-
INCORRECT_G_YEAR_FORMAT
public static final int INCORRECT_G_YEAR_FORMAT
- See Also:
- Constant Field Values
-
INCORRECT_G_YEAR_MONTH_FORMAT
public static final int INCORRECT_G_YEAR_MONTH_FORMAT
- See Also:
- Constant Field Values
-
INCORRECT_TIMESTAMP_DATE_TIME_FORMAT
public static final int INCORRECT_TIMESTAMP_DATE_TIME_FORMAT
- See Also:
- Constant Field Values
-
INCORRECT_TIMESTAMP_TIME_FORMAT
public static final int INCORRECT_TIMESTAMP_TIME_FORMAT
- See Also:
- Constant Field Values
-
-
Method Detail
-
errorCreateURLForFile
public static XMLConversionException errorCreateURLForFile(java.lang.String fileName, java.lang.Exception internalException)
-
incorrectGDayFormat
public static XMLConversionException incorrectGDayFormat(java.lang.String dateString)
-
incorrectGMonthFormat
public static XMLConversionException incorrectGMonthFormat(java.lang.String dateString)
-
incorrectGMonthDayFormat
public static XMLConversionException incorrectGMonthDayFormat(java.lang.String dateString)
-
incorrectGYearFormat
public static XMLConversionException incorrectGYearFormat(java.lang.String dateString)
-
incorrectGYearMonthFormat
public static XMLConversionException incorrectGYearMonthFormat(java.lang.String dateString)
-
incorrectTimestampDateTimeFormat
public static XMLConversionException incorrectTimestampDateTimeFormat(java.lang.String dateString)
-
incorrectTimestampTimeFormat
public static XMLConversionException incorrectTimestampTimeFormat(java.lang.String dateString)
-
-