Class StreamSendException

All Implemented Interfaces:
Serializable

public class StreamSendException extends AmqpException
Used to complete the future exceptionally when sending fails.
Since:
2.4
Author:
Gary Russell
See Also:
  • Constructor Details

    • StreamSendException

      public StreamSendException(String message, int code)
      Construct an instance with the provided message.
      Parameters:
      message - the message.
      code - the confirmation code.
  • Method Details

    • getConfirmationCode

      public int getConfirmationCode()
      Return the confirmation code, if available.
      Returns:
      the code.