Class DeclarationExceptionEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.amqp.event.AmqpEvent
org.springframework.amqp.rabbit.core.RabbitAdminEvent
org.springframework.amqp.rabbit.core.DeclarationExceptionEvent
All Implemented Interfaces:
Serializable

public class DeclarationExceptionEvent extends RabbitAdminEvent
Application event published when a declaration exception occurs.
Since:
1.6
See Also:
  • Constructor Details

    • DeclarationExceptionEvent

      public DeclarationExceptionEvent(Object source, @Nullable org.springframework.amqp.core.Declarable declarable, Throwable t)
  • Method Details

    • getDeclarable

      @Nullable public org.springframework.amqp.core.Declarable getDeclarable()
      Returns:
      the declarable - if null, we were declaring a broker-named queue.
    • getThrowable

      public Throwable getThrowable()
      Returns:
      the throwable.
    • toString

      public String toString()
      Overrides:
      toString in class EventObject