org.apache.camel
Class InvalidPayloadRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.camel.RuntimeCamelException
org.apache.camel.RuntimeExchangeException
org.apache.camel.InvalidPayloadRuntimeException
- All Implemented Interfaces:
- java.io.Serializable
public class InvalidPayloadRuntimeException
- extends RuntimeExchangeException
Runtime version of the InvalidPayloadException
.
- Version:
- See Also:
- Serialized Form
Method Summary |
java.lang.Class<?> |
getType()
The expected type of the body |
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 |
InvalidPayloadRuntimeException
public InvalidPayloadRuntimeException(Exchange exchange,
java.lang.Class<?> type)
InvalidPayloadRuntimeException
public InvalidPayloadRuntimeException(Exchange exchange,
java.lang.Class<?> type,
java.lang.Throwable cause)
InvalidPayloadRuntimeException
public InvalidPayloadRuntimeException(Exchange exchange,
java.lang.Class<?> type,
Message message)
InvalidPayloadRuntimeException
public InvalidPayloadRuntimeException(Exchange exchange,
java.lang.Class<?> type,
Message message,
java.lang.Throwable cause)
getType
public java.lang.Class<?> getType()
- The expected type of the body
Apache CAMEL