Class OperationCancelledException

All Implemented Interfaces:
Serializable

public class OperationCancelledException extends AmqpException
This exception is thrown when the underlying AMQP layer encounters an abnormal link abort or the connection is disconnected in an unexpected fashion.
See Also:
  • Constructor Details

    • OperationCancelledException

      public OperationCancelledException(String message, AmqpErrorContext context)
      Creates an instance of this exception with provided message.
      Parameters:
      message - Message associated with this exception.
      context - The context that caused this OperationCancelledException.
    • OperationCancelledException

      public OperationCancelledException(String message, Throwable cause, AmqpErrorContext context)
      Creates an instance of this exception with provided message and underlying cause.
      Parameters:
      message - Message associated with this exception.
      cause - The throwable that caused this exception to be thrown.
      context - The context that caused this OperationCancelledException.