Uses of Class
org.eclipse.persistence.exceptions.ConversionException
-
-
Uses of ConversionException in org.eclipse.persistence.exceptions
Methods in org.eclipse.persistence.exceptions that return ConversionException Modifier and Type Method Description static ConversionExceptionConversionException. couldNotBeConverted(Object object, Class<?> javaClass)static ConversionExceptionConversionException. couldNotBeConverted(Object object, Class<?> javaClass, Exception exception)static ConversionExceptionConversionException. couldNotBeConverted(Object mapping, Object descriptor, ConversionException exception)static ConversionExceptionConversionException. couldNotBeConvertedToClass(Object object, Class<?> javaClass, Exception exception)static ConversionExceptionConversionException. couldNotConvertToByteArray(Object object)static ConversionExceptionConversionException. couldNotTranslatePropertiesIntoObject(Object object, String propertyName, String propertyValue, Exception cause)static ConversionExceptionConversionException. incorrectDateFormat(String dateString)static ConversionExceptionConversionException. incorrectDateTimeFormat(String dateTimeString)static ConversionExceptionConversionException. incorrectDateTimeFormat(String dateTimeString, Class<?> classBeingConvertedTo)static ConversionExceptionConversionException. incorrectTimeFormat(String timeString)static ConversionExceptionConversionException. incorrectTimestampFormat(String timestampString)Methods in org.eclipse.persistence.exceptions with parameters of type ConversionException Modifier and Type Method Description static ConversionExceptionConversionException. couldNotBeConverted(Object mapping, Object descriptor, ConversionException exception)static SDOExceptionSDOException. invalidPropertyValue(String property, String type, String valueType, String value, ConversionException coe)INTERNAL: Exception trying to call a method with a null input parameter -
Uses of ConversionException in org.eclipse.persistence.internal.databaseaccess
Methods in org.eclipse.persistence.internal.databaseaccess that throw ConversionException Modifier and Type Method Description <T> TDatasourcePlatform. convertObject(Object sourceObject, Class<T> javaClass)Convert the object to the appropriate type by invoking the appropriate ConversionManager method<T> TPlatform. convertObject(Object sourceObject, Class<T> javaClass)Convert the object to the appropriate type by invoking the appropriate ConversionManager method -
Uses of ConversionException in org.eclipse.persistence.internal.helper
Methods in org.eclipse.persistence.internal.helper that throw ConversionException Modifier and Type Method Description <T> Class<T>ConversionManager. convertClassNameToClass(String className)PUBLIC: Resolve the given String className into a class using this ConversionManager's classloader.<T> TConversionManager. convertObject(Object sourceObject, Class<T> javaClass)Convert the object to the appropriate type by invoking the appropriate ConversionManager methodprotected BigDecimalConversionManager. convertObjectToBigDecimal(Object sourceObject)Build a valid instance of BigDecimal from the given sourceObjectprotected BigIntegerConversionManager. convertObjectToBigInteger(Object sourceObject)Build a valid instance of BigInteger from the provided sourceObject.protected ByteConversionManager. convertObjectToByte(Object sourceObject)Build a valid instance of Byte from the provided sourceObjectprotected byte[]ConversionManager. convertObjectToByteArray(Object sourceObject)Build a valid instance of a byte array from the given object.protected Byte[]ConversionManager. convertObjectToByteObjectArray(Object sourceObject)Build a valid instance of a Byte array from the given object.protected CalendarConversionManager. convertObjectToCalendar(Object sourceObject)Build a valid instance of java.util.Calendar from the given source object.protected CharacterConversionManager. convertObjectToChar(Object sourceObject)Build a valid instance of Character from the provided sourceObject.protected Character[]ConversionManager. convertObjectToCharacterArray(Object sourceObject)Build a valid instance of a Character array from the given object.protected char[]ConversionManager. convertObjectToCharArray(Object sourceObject)Build a valid instance of a char array from the given object.protected <T> Class<T>ConversionManager. convertObjectToClass(Object sourceObject)Build a valid Class from the string that is passed inprotected DateConversionManager. convertObjectToDate(Object sourceObject)Convert the object to an instance of java.sql.Date.protected DoubleConversionManager. convertObjectToDouble(Object sourceObject)Convert the object to an instance of Double.protected FloatConversionManager. convertObjectToFloat(Object sourceObject)Build a valid Float instance from a String or another Number instance.protected IntegerConversionManager. convertObjectToInteger(Object sourceObject)Build a valid Integer instance from a String or another Number instance.protected LocalDateConversionManager. convertObjectToLocalDate(Object sourceObject)INTERNAL: Build a valid instance of java.time.LocalDate from the given source object.protected LocalDateTimeConversionManager. convertObjectToLocalDateTime(Object sourceObject)INTERNAL: Build a valid instance of java.time.LocalDateTime from the given source object.protected LocalTimeConversionManager. convertObjectToLocalTime(Object sourceObject)INTERNAL: Build a valid instance of java.time.LocalTime from the given source object.protected LongConversionManager. convertObjectToLong(Object sourceObject)Build a valid Long instance from a String or another Number instance.protected BigDecimalConversionManager. convertObjectToNumber(Object sourceObject)INTERNAL: Build a valid BigDecimal instance from a String or another Number instance.protected OffsetDateTimeConversionManager. convertObjectToOffsetDateTime(Object sourceObject)INTERNAL: Build a valid instance of java.time.OffsetDateTime from the given source object.protected OffsetTimeConversionManager. convertObjectToOffsetTime(Object sourceObject)INTERNAL: Build a valid instance of java.time.OffsetTime from the given source object.protected ShortConversionManager. convertObjectToShort(Object sourceObject)INTERNAL: Build a valid Short instance from a String or another Number instance.protected StringConversionManager. convertObjectToString(Object sourceObject)INTERNAL: Converts objects to their string representations.protected TimeConversionManager. convertObjectToTime(Object sourceObject)INTERNAL: Build a valid instance of java.sql.Time from the given source object.protected TimestampConversionManager. convertObjectToTimestamp(Object sourceObject)INTERNAL: Build a valid instance of java.sql.Timestamp from the given source object.protected URLConversionManager. convertObjectToUrl(Object sourceObject)INTERNAL: Build a valid instance of java.net.URL from the given source object.protected DateConversionManager. convertObjectToUtilDate(Object sourceObject)INTERNAL: Build a valid instance of java.util.Date from the given source object.protected UUIDConversionManager. convertObjectToUUID(Object sourceObject)INTERNAL: Build a valid instance of java.util.UUID from the given source object.static DateHelper. dateFromString(String dateString)Answer a Date from a string representation.static TimeHelper. timeFromString(String timeString)Answer a Time from a string representation.static TimestampHelper. timestampFromString(String timestampString)Answer a Timestamp from a string representation. -
Uses of ConversionException in org.eclipse.persistence.internal.oxm
Methods in org.eclipse.persistence.internal.oxm that throw ConversionException Modifier and Type Method Description StringXMLConversionManager. convertArrayToString(Object[] sourceObject, QName schemaType)StringXMLConversionManager. convertListToString(Object sourceObject, QName schemaType)<T> TXMLConversionManager. convertObject(Object sourceObject, Class<T> javaClass)Convert the given object to the appropriate type by invoking the appropriate ConversionManager method.<T> TXMLConversionManager. convertObject(Object sourceObject, Class<T> javaClass, QName schemaTypeQName)Convert the given object to the appropriate type by invoking the appropriate ConversionManager method.protected BigDecimalXMLConversionManager. convertObjectToBigDecimal(Object sourceObject)Build a valid instance of BigDecimal from the given sourceObjectprotected BigIntegerXMLConversionManager. convertObjectToBigInteger(Object sourceObject)Build a valid instance of BigInteger from the provided sourceObject.protected ByteXMLConversionManager. convertObjectToByte(Object sourceObject)Build a valid instance of Byte from the provided sourceObjectprotected CalendarXMLConversionManager. convertObjectToCalendar(Object sourceObject)INTERNAL: Converts given object to a Calendar objectprotected CharacterXMLConversionManager. convertObjectToChar(Object sourceObject)Build a valid instance of Character from the provided sourceObject.protected CharacterXMLConversionManager. convertObjectToChar(Object sourceObject, QName schemaTypeQName)Build a valid instance of Character from the provided sourceObject.protected DateXMLConversionManager. convertObjectToDate(Object sourceObject)protected DoubleXMLConversionManager. convertObjectToDouble(Object sourceObject)Convert the object to an instance of Double.protected DurationXMLConversionManager. convertObjectToDuration(Object sourceObject)Build a valid instance of Duration from the provided sourceObject.protected FloatXMLConversionManager. convertObjectToFloat(Object sourceObject)Build a valid Float instance from a String or another Number instance.protected IntegerXMLConversionManager. convertObjectToInteger(Object sourceObject)Build a valid Integer instance from a String or another Number instance.protected LongXMLConversionManager. convertObjectToLong(Object sourceObject)Build a valid Long instance from a String or another Number instance.protected BigDecimalXMLConversionManager. convertObjectToNumber(Object sourceObject)INTERNAL: Build a valid BigDecimal instance from a String or another Number instance.protected QNameXMLConversionManager. convertObjectToQName(Object sourceObject)INTERNAL: Converts given object to a QName objectprotected ShortXMLConversionManager. convertObjectToShort(Object sourceObject)INTERNAL: Build a valid Short instance from a String or another Number instance.protected StringXMLConversionManager. convertObjectToString(Object sourceObject)INTERNAL: Converts objects to their string representations.protected StringXMLConversionManager. convertObjectToString(Object sourceObject, QName schemaTypeQName)protected URIXMLConversionManager. convertObjectToURI(Object sourceObject)Convert a String to a URI.protected XMLGregorianCalendarXMLConversionManager. convertObjectToXMLGregorianCalendar(Object sourceObject)Build a valid instance of XMLGregorianCalendar from the provided sourceObject.protected XMLGregorianCalendarXMLConversionManager. convertObjectToXMLGregorianCalendar(Object sourceObject, QName schemaTypeQName)Build a valid instance of XMLGregorianCalendar from the provided sourceObject.ObjectXMLConversionManager. convertSchemaBase64ListToByteArrayList(Object sourceObject, CoreContainerPolicy containerPolicy, CoreAbstractSession session)byte[]XMLConversionManager. convertSchemaBase64ToByteArray(Object sourceObject)INTERNAL: Converts a String which is in Base64 format to a Byte[]protected Byte[]XMLConversionManager. convertSchemaBase64ToByteObjectArray(Object sourceObject)protected List<String>XMLConversionManager. convertStringToList(Object sourceObject)<T> Collection<T>XMLConversionManager. convertStringToList(Object sourceObject, Class<T> elementType, ContainerPolicy containerPolicy, QName schemaType)Convert the given sourceObject (String) to the appropriate collection type specified by the containerPolicy, using the elementType to properly convert each element of the list. -
Uses of ConversionException in org.eclipse.persistence.mappings.xdb
Methods in org.eclipse.persistence.mappings.xdb that throw ConversionException Modifier and Type Method Description ObjectDirectToXMLTypeMapping. getObjectValue(Object fieldValue, Session session)INTERNAL: Get the attribute value for the given field value.
-