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:
- Serializable
public class InvalidPayloadRuntimeException
- extends RuntimeExchangeException
Runtime version of the InvalidPayloadException
.
- Version:
- See Also:
- Serialized Form
Method Summary |
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 |
InvalidPayloadRuntimeException
public InvalidPayloadRuntimeException(Exchange exchange,
Class<?> type)
InvalidPayloadRuntimeException
public InvalidPayloadRuntimeException(Exchange exchange,
Class<?> type,
Throwable cause)
InvalidPayloadRuntimeException
public InvalidPayloadRuntimeException(Exchange exchange,
Class<?> type,
Message message)
InvalidPayloadRuntimeException
public InvalidPayloadRuntimeException(Exchange exchange,
Class<?> type,
Message message,
Throwable cause)
getType
public Class<?> getType()
- The expected type of the body
Apache Camel