Uses of Class
org.eclipse.persistence.exceptions.ConversionException
Packages that use ConversionException
Package
Description
-
Uses of ConversionException in org.eclipse.persistence.exceptions
Methods in org.eclipse.persistence.exceptions that return ConversionExceptionModifier and TypeMethodDescriptionstatic ConversionException
ConversionException.couldNotBeConverted
(Object object, Class<?> javaClass) static ConversionException
ConversionException.couldNotBeConverted
(Object object, Class<?> javaClass, Exception exception) static ConversionException
ConversionException.couldNotBeConverted
(Object mapping, Object descriptor, ConversionException exception) static ConversionException
ConversionException.couldNotBeConvertedToClass
(Object object, Class<?> javaClass, Exception exception) static ConversionException
ConversionException.couldNotConvertToByteArray
(Object object) static ConversionException
ConversionException.couldNotTranslatePropertiesIntoObject
(Object object, String propertyName, String propertyValue, Exception cause) static ConversionException
ConversionException.incorrectDateFormat
(String dateString) static ConversionException
ConversionException.incorrectDateTimeFormat
(String dateTimeString) static ConversionException
ConversionException.incorrectDateTimeFormat
(String dateTimeString, Class<?> classBeingConvertedTo) static ConversionException
ConversionException.incorrectTimeFormat
(String timeString) static ConversionException
ConversionException.incorrectTimestampFormat
(String timestampString) Methods in org.eclipse.persistence.exceptions with parameters of type ConversionExceptionModifier and TypeMethodDescriptionstatic ConversionException
ConversionException.couldNotBeConverted
(Object mapping, Object descriptor, ConversionException exception) static SDOException
SDOException.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 ConversionExceptionModifier and TypeMethodDescription<T> T
DatasourcePlatform.convertObject
(Object sourceObject, Class<T> javaClass) Convert the object to the appropriate type by invoking the appropriate ConversionManager method<T> T
Platform.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 ConversionExceptionModifier and TypeMethodDescription<T> Class
<T> ConversionManager.convertClassNameToClass
(String className) PUBLIC: Resolve the given String className into a class using this ConversionManager's classloader.<T> T
ConversionManager.convertObject
(Object sourceObject, Class<T> javaClass) Convert the object to the appropriate type by invoking the appropriate ConversionManager methodprotected BigDecimal
ConversionManager.convertObjectToBigDecimal
(Object sourceObject) Build a valid instance of BigDecimal from the given sourceObjectprotected BigInteger
ConversionManager.convertObjectToBigInteger
(Object sourceObject) Build a valid instance of BigInteger from the provided sourceObject.protected Byte
ConversionManager.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 Calendar
ConversionManager.convertObjectToCalendar
(Object sourceObject) Build a valid instance of java.util.Calendar from the given source object.protected Character
ConversionManager.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 Date
ConversionManager.convertObjectToDate
(Object sourceObject) Convert the object to an instance of java.sql.Date.protected Double
ConversionManager.convertObjectToDouble
(Object sourceObject) Convert the object to an instance of Double.protected Float
ConversionManager.convertObjectToFloat
(Object sourceObject) Build a valid Float instance from a String or another Number instance.protected Integer
ConversionManager.convertObjectToInteger
(Object sourceObject) Build a valid Integer instance from a String or another Number instance.protected LocalDate
ConversionManager.convertObjectToLocalDate
(Object sourceObject) INTERNAL: Build a valid instance of java.time.LocalDate from the given source object.protected LocalDateTime
ConversionManager.convertObjectToLocalDateTime
(Object sourceObject) INTERNAL: Build a valid instance of java.time.LocalDateTime from the given source object.protected LocalTime
ConversionManager.convertObjectToLocalTime
(Object sourceObject) INTERNAL: Build a valid instance of java.time.LocalTime from the given source object.protected Long
ConversionManager.convertObjectToLong
(Object sourceObject) Build a valid Long instance from a String or another Number instance.protected BigDecimal
ConversionManager.convertObjectToNumber
(Object sourceObject) INTERNAL: Build a valid BigDecimal instance from a String or another Number instance.protected OffsetDateTime
ConversionManager.convertObjectToOffsetDateTime
(Object sourceObject) INTERNAL: Build a valid instance of java.time.OffsetDateTime from the given source object.protected OffsetTime
ConversionManager.convertObjectToOffsetTime
(Object sourceObject) INTERNAL: Build a valid instance of java.time.OffsetTime from the given source object.protected Short
ConversionManager.convertObjectToShort
(Object sourceObject) INTERNAL: Build a valid Short instance from a String or another Number instance.protected String
ConversionManager.convertObjectToString
(Object sourceObject) INTERNAL: Converts objects to their string representations.protected Time
ConversionManager.convertObjectToTime
(Object sourceObject) INTERNAL: Build a valid instance of java.sql.Time from the given source object.protected Timestamp
ConversionManager.convertObjectToTimestamp
(Object sourceObject) INTERNAL: Build a valid instance of java.sql.Timestamp from the given source object.protected URL
ConversionManager.convertObjectToUrl
(Object sourceObject) INTERNAL: Build a valid instance of java.net.URL from the given source object.protected Date
ConversionManager.convertObjectToUtilDate
(Object sourceObject) INTERNAL: Build a valid instance of java.util.Date from the given source object.protected UUID
ConversionManager.convertObjectToUUID
(Object sourceObject) INTERNAL: Build a valid instance of java.util.UUID from the given source object.static Date
Helper.dateFromString
(String dateString) Answer a Date from a string representation.static Time
Helper.timeFromString
(String timeString) Answer a Time from a string representation.static Timestamp
Helper.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 ConversionExceptionModifier and TypeMethodDescriptionXMLConversionManager.convertArrayToString
(Object[] sourceObject, QName schemaType) XMLConversionManager.convertListToString
(Object sourceObject, QName schemaType) <T> T
XMLConversionManager.convertObject
(Object sourceObject, Class<T> javaClass) Convert the given object to the appropriate type by invoking the appropriate ConversionManager method.<T> T
XMLConversionManager.convertObject
(Object sourceObject, Class<T> javaClass, QName schemaTypeQName) Convert the given object to the appropriate type by invoking the appropriate ConversionManager method.protected BigDecimal
XMLConversionManager.convertObjectToBigDecimal
(Object sourceObject) Build a valid instance of BigDecimal from the given sourceObjectprotected BigInteger
XMLConversionManager.convertObjectToBigInteger
(Object sourceObject) Build a valid instance of BigInteger from the provided sourceObject.protected Byte
XMLConversionManager.convertObjectToByte
(Object sourceObject) Build a valid instance of Byte from the provided sourceObjectprotected Calendar
XMLConversionManager.convertObjectToCalendar
(Object sourceObject) INTERNAL: Converts given object to a Calendar objectprotected Character
XMLConversionManager.convertObjectToChar
(Object sourceObject) Build a valid instance of Character from the provided sourceObject.protected Character
XMLConversionManager.convertObjectToChar
(Object sourceObject, QName schemaTypeQName) Build a valid instance of Character from the provided sourceObject.protected Date
XMLConversionManager.convertObjectToDate
(Object sourceObject) protected Double
XMLConversionManager.convertObjectToDouble
(Object sourceObject) Convert the object to an instance of Double.protected Duration
XMLConversionManager.convertObjectToDuration
(Object sourceObject) Build a valid instance of Duration from the provided sourceObject.protected Float
XMLConversionManager.convertObjectToFloat
(Object sourceObject) Build a valid Float instance from a String or another Number instance.protected Integer
XMLConversionManager.convertObjectToInteger
(Object sourceObject) Build a valid Integer instance from a String or another Number instance.protected Long
XMLConversionManager.convertObjectToLong
(Object sourceObject) Build a valid Long instance from a String or another Number instance.protected BigDecimal
XMLConversionManager.convertObjectToNumber
(Object sourceObject) INTERNAL: Build a valid BigDecimal instance from a String or another Number instance.protected QName
XMLConversionManager.convertObjectToQName
(Object sourceObject) INTERNAL: Converts given object to a QName objectprotected Short
XMLConversionManager.convertObjectToShort
(Object sourceObject) INTERNAL: Build a valid Short instance from a String or another Number instance.protected String
XMLConversionManager.convertObjectToString
(Object sourceObject) INTERNAL: Converts objects to their string representations.protected String
XMLConversionManager.convertObjectToString
(Object sourceObject, QName schemaTypeQName) protected URI
XMLConversionManager.convertObjectToURI
(Object sourceObject) Convert a String to a URI.protected XMLGregorianCalendar
XMLConversionManager.convertObjectToXMLGregorianCalendar
(Object sourceObject) Build a valid instance of XMLGregorianCalendar from the provided sourceObject.protected XMLGregorianCalendar
XMLConversionManager.convertObjectToXMLGregorianCalendar
(Object sourceObject, QName schemaTypeQName) Build a valid instance of XMLGregorianCalendar from the provided sourceObject.XMLConversionManager.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) 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 ConversionExceptionModifier and TypeMethodDescriptionDirectToXMLTypeMapping.getObjectValue
(Object fieldValue, Session session) INTERNAL: Get the attribute value for the given field value. -
Uses of ConversionException in org.eclipse.persistence.nosql.adapters.sdk
Methods in org.eclipse.persistence.nosql.adapters.sdk that throw ConversionExceptionModifier and TypeMethodDescription<T> T
OracleNoSQLPlatform.convertObject
(Object sourceObject, Class<T> javaClass) INTERNAL: Allow for conversion from the Oracle type to the Java type. -
Uses of ConversionException in org.eclipse.persistence.platform.database.oracle
Methods in org.eclipse.persistence.platform.database.oracle that throw ConversionExceptionModifier and TypeMethodDescription<T> T
Oracle9Platform.convertObject
(Object sourceObject, Class<T> javaClass) INTERNAL: Allow for conversion from the Oracle type to the Java type.