Package org.axonframework.messaging.core
Class IllegalPayloadAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.common.AxonNonTransientException
org.axonframework.messaging.core.IllegalPayloadAccessException
- All Implemented Interfaces:
Serializable
Indicates situations when access to the Payload of a Message is not allowed.
- Since:
- 4.0
- Author:
- Milan Savic
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIllegalPayloadAccessException(String message) Creates the exception with givenmessage.IllegalPayloadAccessException(String message, Throwable cause) Creates the exception with givenmessageandcause. -
Method Summary
Methods inherited from class org.axonframework.common.AxonNonTransientException
isCauseOfMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IllegalPayloadAccessException
Creates the exception with givenmessage.- Parameters:
message- the exception message
-
IllegalPayloadAccessException
Creates the exception with givenmessageandcause.- Parameters:
message- the exception messagecause- the exception which caused illegal payload access
-