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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException -
Constructor Summary
ConstructorsModifierConstructorDescriptionXMLConversionException(String message) protectedXMLConversionException(String message, Exception internalException) -
Method Summary
Modifier and TypeMethodDescriptionstatic XMLConversionExceptionerrorCreateURLForFile(String fileName, Exception internalException) static XMLConversionExceptionincorrectGDayFormat(String dateString) static XMLConversionExceptionincorrectGMonthDayFormat(String dateString) static XMLConversionExceptionincorrectGMonthFormat(String dateString) static XMLConversionExceptionincorrectGYearFormat(String dateString) static XMLConversionExceptionincorrectGYearMonthFormat(String dateString) static XMLConversionExceptionincorrectTimestampDateTimeFormat(String dateString) static XMLConversionExceptionincorrectTimestampTimeFormat(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, toStringMethods 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
-