Class RabbitClientException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.messaging.exceptions.MessagingException
io.micronaut.messaging.exceptions.MessagingClientException
io.micronaut.rabbitmq.exception.RabbitClientException
All Implemented Interfaces:
Serializable

public class RabbitClientException extends io.micronaut.messaging.exceptions.MessagingClientException
Exception thrown when an error occurs publishing a RabbitMQ message.
Since:
1.1.0
Author:
James Kleeh
See Also:
  • Constructor Details

    • RabbitClientException

      public RabbitClientException(String message)
      Creates a new exception.
      Parameters:
      message - The message
    • RabbitClientException

      public RabbitClientException(String message, List<RabbitPublishState> failures)
      Creates a new exception.
      Parameters:
      message - The message
      failures - The messages that failed to send
    • RabbitClientException

      public RabbitClientException(String message, Throwable cause)
      Creates a new exception.
      Parameters:
      message - The message
      cause - The cause
    • RabbitClientException

      public RabbitClientException(String message, Throwable cause, List<RabbitPublishState> failures)
      Creates a new exception.
      Parameters:
      message - The message
      cause - The cause
      failures - The messages that failed to send
  • Method Details