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, toString
public TypeConversionException(Object value, Class<?> type, Throwable cause)
public Class<?> getFromType()
public static String createMessage(Object value, Class<?> type, Throwable cause)
Apache Camel