Class WrongDeadLetterTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
io.axoniq.framework.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, org.axonframework.messaging.core.unitofwork.ProcessingContext) 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.
-