Class WrongDeadLetterTypeException

All Implemented Interfaces:
Serializable

public class WrongDeadLetterTypeException extends AxonException
Exception representing that a wrong dead letter was provided to the queue. All DeadLetters supplied back to the SequencedDeadLetterQueue, for example the
invalid reference
org.axonframework.messaging.deadletter.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 Details

    • WrongDeadLetterTypeException

      public WrongDeadLetterTypeException(String message)
      Constructs a WrongDeadLetterTypeException with the provided message.
      Parameters:
      message - The message containing more details about the cause.