|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.camel.CamelException
org.apache.camel.NoTypeConversionAvailableException
public class NoTypeConversionAvailableException
An exception thrown if a value could not be converted to the required type
| Constructor Summary | |
|---|---|
NoTypeConversionAvailableException(Object value,
Class type)
|
|
NoTypeConversionAvailableException(Object value,
Class type,
Throwable cause)
|
|
| Method Summary | |
|---|---|
static String |
createMessage(Object value,
Class type)
Returns an error message for no type converter available. |
Class |
getFromType()
Returns the required from type. |
Class |
getToType()
Returns the required to type |
Object |
getValue()
Returns the value which could not be converted |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NoTypeConversionAvailableException(Object value,
Class type)
public NoTypeConversionAvailableException(Object value,
Class type,
Throwable cause)
| Method Detail |
|---|
public Object getValue()
public Class getToType()
public Class getFromType()
public static String createMessage(Object value,
Class type)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||