Class WrongDeadLetterTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.messaging.deadletter.WrongDeadLetterTypeException
- All Implemented Interfaces:
Serializable
Exception representing that a wrong dead letter was provided to the queue. All
DeadLetters supplied back to the
SequencedDeadLetterQueue, for example the
SequencedDeadLetterQueue.evict(DeadLetter) method, should be the
original supplied by the queue in the first place.- Since:
- 4.6.0
- Author:
- Mitchell Herrijgers
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWrongDeadLetterTypeException(String message) Constructs aWrongDeadLetterTypeExceptionwith the providedmessage. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WrongDeadLetterTypeException
Constructs aWrongDeadLetterTypeExceptionwith the providedmessage.- Parameters:
message- The message containing more details about the cause.
-