public class TypeConversionException extends RuntimeCamelException
| Constructor and Description |
|---|
TypeConversionException(Object value,
Class<?> type,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
static String |
createMessage(Object value,
Class<?> type,
Throwable cause)
Returns an error message for type conversion failed.
|
Class<?> |
getFromType()
Returns the required from type.
|
Class<?> |
getToType()
Returns the required to type
|
Object |
getValue()
Returns the value which could not be converted
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringApache Camel