EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.exceptions
Class XMLConversionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.persistence.exceptions.EclipseLinkException
                  extended by 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
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
  XMLConversionException(java.lang.String message)
           
protected XMLConversionException(java.lang.String message, java.lang.Exception internalException)
           
 
Method Summary
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, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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
Constructor Detail

XMLConversionException

public XMLConversionException(java.lang.String message)

XMLConversionException

protected XMLConversionException(java.lang.String message,
                                 java.lang.Exception internalException)
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)

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference