| Modifier and Type | Field and Description |
|---|---|
| private final TypeDescriptor | |
| private final TypeDescriptor | |
| private final Object |
| Access | Constructor and Description |
|---|---|
| public | ConversionFailedException(TypeDescriptor
the value's original type sourceType, TypeDescriptor the value's target type targetType, Object the value we tried to convert value, Throwable the cause of the conversion failure cause)Create a new conversion exception. |
| Modifier and Type | Method and Description |
|---|---|
| public TypeDescriptor | |
| public TypeDescriptor | |
| public Object |
| sourceType | back to summary |
|---|---|
| private final TypeDescriptor sourceType
| |
| targetType | back to summary |
|---|---|
| private final TypeDescriptor targetType | |
| value | back to summary |
|---|---|
| private final Object value
| |
| ConversionFailedException | back to summary |
|---|---|
| public ConversionFailedException(TypeDescriptor sourceType, TypeDescriptor targetType, Object value, Throwable cause) Create a new conversion exception.
| |
| getSourceType | back to summary |
|---|---|
| public TypeDescriptor getSourceType() Return the source type we tried to convert the value from.
| |
| getTargetType | back to summary |
|---|---|
| public TypeDescriptor getTargetType() Return the target type we tried to convert the value to. | |
| getValue | back to summary |
|---|---|
| public Object getValue() Return the offending value.
| |