org.apache.camel
Class InvalidTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.camel.CamelException
org.apache.camel.CamelExchangeException
org.apache.camel.InvalidTypeException
- All Implemented Interfaces:
- Serializable
public class InvalidTypeException
- extends CamelExchangeException
Is thrown if type conversion failed.
- Version:
- $Revision: 41776 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidTypeException
public InvalidTypeException(Exchange exchange,
Object value,
Class<?> type)
getValue
public Object getValue()
- The value
getType
public Class<?> getType()
- The expected type of the value
Copyright © 2008 IONA Open Source Community. All Rights Reserved.