org.apache.camel
Class NoTypeConversionAvailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.camel.RuntimeCamelException
org.apache.camel.NoTypeConversionAvailableException
- All Implemented Interfaces:
- Serializable
public class NoTypeConversionAvailableException
- extends RuntimeCamelException
An exception thrown if a value could not be converted to the required type
- Version:
- $Revision: 630591 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NoTypeConversionAvailableException
public NoTypeConversionAvailableException(Object value,
Class type)
getValue
public Object getValue()
- Returns the value which could not be converted
- Returns:
- the value that could not be converted
getType
public Class getType()
- Returns the required type
- Returns:
- the required type
Copyright © 2008 Apache Software Foundation. All Rights Reserved.