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 intERROR_CREATE_URLstatic intINCORRECT_G_DAY_FORMATstatic intINCORRECT_G_MONTH_DAY_FORMATstatic intINCORRECT_G_MONTH_FORMATstatic intINCORRECT_G_YEAR_FORMATstatic intINCORRECT_G_YEAR_MONTH_FORMATstatic intINCORRECT_TIMESTAMP_DATE_TIME_FORMATstatic intINCORRECT_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)protectedXMLConversionException(java.lang.String message, java.lang.Exception internalException)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XMLConversionExceptionerrorCreateURLForFile(java.lang.String fileName, java.lang.Exception internalException)static XMLConversionExceptionincorrectGDayFormat(java.lang.String dateString)static XMLConversionExceptionincorrectGMonthDayFormat(java.lang.String dateString)static XMLConversionExceptionincorrectGMonthFormat(java.lang.String dateString)static XMLConversionExceptionincorrectGYearFormat(java.lang.String dateString)static XMLConversionExceptionincorrectGYearMonthFormat(java.lang.String dateString)static XMLConversionExceptionincorrectTimestampDateTimeFormat(java.lang.String dateString)static XMLConversionExceptionincorrectTimestampTimeFormat(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)
-
-