Module org.eclipse.persistence.core
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 SummaryFieldsModifier 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.EclipseLinkExceptionCR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
- 
Constructor SummaryConstructorsModifierConstructorDescriptionXMLConversionException(String message) protectedXMLConversionException(String message, Exception internalException) 
- 
Method SummaryModifier 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.EclipseLinkExceptioncr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toStringMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
- 
Field Details- 
ERROR_CREATE_URLpublic static final int ERROR_CREATE_URL- See Also:
 
- 
INCORRECT_G_DAY_FORMATpublic static final int INCORRECT_G_DAY_FORMAT- See Also:
 
- 
INCORRECT_G_MONTH_FORMATpublic static final int INCORRECT_G_MONTH_FORMAT- See Also:
 
- 
INCORRECT_G_MONTH_DAY_FORMATpublic static final int INCORRECT_G_MONTH_DAY_FORMAT- See Also:
 
- 
INCORRECT_G_YEAR_FORMATpublic static final int INCORRECT_G_YEAR_FORMAT- See Also:
 
- 
INCORRECT_G_YEAR_MONTH_FORMATpublic static final int INCORRECT_G_YEAR_MONTH_FORMAT- See Also:
 
- 
INCORRECT_TIMESTAMP_DATE_TIME_FORMATpublic static final int INCORRECT_TIMESTAMP_DATE_TIME_FORMAT- See Also:
 
- 
INCORRECT_TIMESTAMP_TIME_FORMATpublic static final int INCORRECT_TIMESTAMP_TIME_FORMAT- See Also:
 
 
- 
- 
Constructor Details- 
XMLConversionException
- 
XMLConversionException
 
- 
- 
Method Details- 
errorCreateURLForFilepublic static XMLConversionException errorCreateURLForFile(String fileName, Exception internalException) 
- 
incorrectGDayFormat
- 
incorrectGMonthFormat
- 
incorrectGMonthDayFormat
- 
incorrectGYearFormat
- 
incorrectGYearMonthFormat
- 
incorrectTimestampDateTimeFormat
- 
incorrectTimestampTimeFormat
 
-