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

      • 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)