Class DeclarationExceptionEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class DeclarationExceptionEvent
    extends RabbitAdminEvent
    Application event published when a declaration exception occurs.
    Since:
    1.6
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      DeclarationExceptionEvent​(java.lang.Object source, org.springframework.amqp.core.Declarable declarable, java.lang.Throwable t)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.amqp.core.Declarable getDeclarable()  
      java.lang.Throwable getThrowable()  
      java.lang.String toString()  
      • Methods inherited from class org.springframework.context.ApplicationEvent

        getTimestamp
      • Methods inherited from class java.util.EventObject

        getSource
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DeclarationExceptionEvent

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

      • getDeclarable

        @Nullable
        public org.springframework.amqp.core.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