Purpose: Conversion exceptions such as method or class not defined will raise this exception.
| Modifier and Type | Field and Description |
|---|---|
| protected Class | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| protected transient Object | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | ConversionException(String message, Object sourceObject, Class<?> classToConvertTo, Exception exception)
INTERNAL: TopLink exceptions should only be thrown by TopLink. |
| Modifier and Type | Method and Description |
|---|---|
| public static ConversionException | |
| public static ConversionException | |
| public static ConversionException | |
| public static ConversionException | |
| public static ConversionException | |
| public static ConversionException | couldNotTranslatePropertiesIntoObject(Object object, String propertyName, String propertyValue, Exception cause)
|
| public Class | |
| public Object | |
| public static ConversionException | |
| public static ConversionException | |
| public static ConversionException | |
| public static ConversionException | |
| public static ConversionException | |
| public void | |
| public void |
| classToConvertTo | back to summary |
|---|---|
| protected Class<?> classToConvertTo | |
| COULD_NOT_BE_CONVERTED | back to summary |
|---|---|
| public static final int COULD_NOT_BE_CONVERTED | |
| COULD_NOT_BE_CONVERTED_EXTENDED | back to summary |
|---|---|
| public static final int COULD_NOT_BE_CONVERTED_EXTENDED | |
| COULD_NOT_BE_CONVERTED_TO_CLASS | back to summary |
|---|---|
| public static final int COULD_NOT_BE_CONVERTED_TO_CLASS | |
| COULD_NOT_CONVERT_TO_BYTE_ARRAY | back to summary |
|---|---|
| public static final int COULD_NOT_CONVERT_TO_BYTE_ARRAY | |
| INCORRECT_DATE_FORMAT | back to summary |
|---|---|
| public static final int INCORRECT_DATE_FORMAT | |
| INCORRECT_DATE_TIME_FORMAT | back to summary |
|---|---|
| public static final int INCORRECT_DATE_TIME_FORMAT | |
| INCORRECT_TIME_FORMAT | back to summary |
|---|---|
| public static final int INCORRECT_TIME_FORMAT | |
| INCORRECT_TIMESTAMP_FORMAT | back to summary |
|---|---|
| public static final int INCORRECT_TIMESTAMP_FORMAT | |
| sourceObject | back to summary |
|---|---|
| protected transient Object sourceObject | |
| UNABLE_TO_SET_PROPERTIES | back to summary |
|---|---|
| public static final int UNABLE_TO_SET_PROPERTIES | |
| ConversionException | back to summary |
|---|---|
| protected ConversionException() INTERNAL: TopLink exceptions should only be thrown by TopLink. This constructor is only for error message scripting. | |
| ConversionException | back to summary |
|---|---|
| protected ConversionException(String message, Object sourceObject, Class<?> classToConvertTo, Exception exception) INTERNAL: TopLink exceptions should only be thrown by TopLink. | |
| couldNotBeConverted | back to summary |
|---|---|
| public static ConversionException couldNotBeConverted(Object mapping, Object descriptor, ConversionException exception) | |
| couldNotBeConverted | back to summary |
|---|---|
| public static ConversionException couldNotBeConverted(Object object, Class<?> javaClass) | |
| couldNotBeConverted | back to summary |
|---|---|
| public static ConversionException couldNotBeConverted(Object object, Class<?> javaClass, Exception exception) | |
| couldNotBeConvertedToClass | back to summary |
|---|---|
| public static ConversionException couldNotBeConvertedToClass(Object object, Class<?> javaClass, Exception exception) | |
| couldNotConvertToByteArray | back to summary |
|---|---|
| public static ConversionException couldNotConvertToByteArray(Object object) | |
| couldNotTranslatePropertiesIntoObject | back to summary |
|---|---|
| public static ConversionException couldNotTranslatePropertiesIntoObject(Object object, String propertyName, String propertyValue, Exception cause) | |
| getClassToConvertTo | back to summary |
|---|---|
| public Class PUBLIC: Return the class to convert to. | |
| getSourceObject | back to summary |
|---|---|
| public Object getSourceObject() PUBLIC: Return the object for which the problem was detected. | |
| incorrectDateFormat | back to summary |
|---|---|
| public static ConversionException incorrectDateFormat(String dateString) | |
| incorrectDateTimeFormat | back to summary |
|---|---|
| public static ConversionException incorrectDateTimeFormat(String dateTimeString, Class<?> classBeingConvertedTo) | |
| incorrectDateTimeFormat | back to summary |
|---|---|
| public static ConversionException incorrectDateTimeFormat(String dateTimeString) | |
| incorrectTimeFormat | back to summary |
|---|---|
| public static ConversionException incorrectTimeFormat(String timeString) | |
| incorrectTimestampFormat | back to summary |
|---|---|
| public static ConversionException incorrectTimestampFormat(String timestampString) | |
| setClassToConvertTo | back to summary |
|---|---|
| public void setClassToConvertTo(Class<?> classToConvertTo) INTERNAL: Set the class to convert to. | |
| setSourceObject | back to summary |
|---|---|
| public void setSourceObject(Object sourceObject) INTERNAL: Set the object for which the problem was detected. | |