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:
Serializable
Purpose: XML conversion exceptions are raised for any problem when converting Java types to/from XML.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
-
Constructor Summary
ModifierConstructorDescriptionXMLConversionException
(String message) protected
XMLConversionException
(String message, Exception internalException) -
Method Summary
Modifier and TypeMethodDescriptionstatic XMLConversionException
errorCreateURLForFile
(String fileName, Exception internalException) static XMLConversionException
incorrectGDayFormat
(String dateString) static XMLConversionException
incorrectGMonthDayFormat
(String dateString) static XMLConversionException
incorrectGMonthFormat
(String dateString) static XMLConversionException
incorrectGYearFormat
(String dateString) static XMLConversionException
incorrectGYearMonthFormat
(String dateString) static XMLConversionException
incorrectTimestampDateTimeFormat
(String dateString) static XMLConversionException
incorrectTimestampTimeFormat
(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
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
Field Details
-
ERROR_CREATE_URL
public static final int ERROR_CREATE_URL- See Also:
-
INCORRECT_G_DAY_FORMAT
public static final int INCORRECT_G_DAY_FORMAT- See Also:
-
INCORRECT_G_MONTH_FORMAT
public static final int INCORRECT_G_MONTH_FORMAT- See Also:
-
INCORRECT_G_MONTH_DAY_FORMAT
public static final int INCORRECT_G_MONTH_DAY_FORMAT- See Also:
-
INCORRECT_G_YEAR_FORMAT
public static final int INCORRECT_G_YEAR_FORMAT- See Also:
-
INCORRECT_G_YEAR_MONTH_FORMAT
public static final int INCORRECT_G_YEAR_MONTH_FORMAT- See Also:
-
INCORRECT_TIMESTAMP_DATE_TIME_FORMAT
public static final int INCORRECT_TIMESTAMP_DATE_TIME_FORMAT- See Also:
-
INCORRECT_TIMESTAMP_TIME_FORMAT
public static final int INCORRECT_TIMESTAMP_TIME_FORMAT- See Also:
-
-
Constructor Details
-
XMLConversionException
-
XMLConversionException
-
-
Method Details
-
errorCreateURLForFile
public static XMLConversionException errorCreateURLForFile(String fileName, Exception internalException) -
incorrectGDayFormat
-
incorrectGMonthFormat
-
incorrectGMonthDayFormat
-
incorrectGYearFormat
-
incorrectGYearMonthFormat
-
incorrectTimestampDateTimeFormat
-
incorrectTimestampTimeFormat
-