Class DeclarationExceptionEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class DeclarationExceptionEvent
    extends RabbitAdminEvent
    Application event published when a declaration exception occurs.
    Since:
    1.6
    Author:
    Gary Russell
    See Also:
    Serialized Form
    • Constructor Detail

      • DeclarationExceptionEvent

        public DeclarationExceptionEvent​(java.lang.Object source,
                                         @Nullable
                                         Declarable declarable,
                                         java.lang.Throwable t)
    • Method Detail

      • getDeclarable

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

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

        public java.lang.String toString()
        Overrides:
        toString in class java.util.EventObject