Class ReactiveMessageSendingException

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable fillInStackTrace()  
      <C> C getCorrelationMetadata()
      Returns the correlation metadata of the message that failed to be sent.
      java.lang.String getMessage()  
      MessageSpec<?> getMessageSpec()
      Returns the message that failed to be sent.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

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

      • ReactiveMessageSendingException

        public ReactiveMessageSendingException​(java.lang.Throwable cause,
                                               MessageSpec<?> messageSpec)
        Creates a new instance.
        Parameters:
        cause - the cause of the failure
        messageSpec - the message that failed to be sent
    • Method Detail

      • fillInStackTrace

        public java.lang.Throwable fillInStackTrace()
        Overrides:
        fillInStackTrace in class java.lang.Throwable
      • getMessageSpec

        public MessageSpec<?> getMessageSpec()
        Returns the message that failed to be sent.
        Returns:
        the message that failed to be sent.
      • getCorrelationMetadata

        public <C> C getCorrelationMetadata()
        Returns the correlation metadata of the message that failed to be sent.
        Type Parameters:
        C - the correlation metadata type
        Returns:
        the correlation metadata of the message that failed to be sent.
      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable