public class RabbitClientException
extends io.micronaut.messaging.exceptions.MessagingClientException
Constructor and Description |
---|
RabbitClientException(java.lang.String message)
Creates a new exception.
|
RabbitClientException(java.lang.String message,
java.util.List<RabbitPublishState> failures)
Creates a new exception.
|
RabbitClientException(java.lang.String message,
java.lang.Throwable cause)
Creates a new exception.
|
RabbitClientException(java.lang.String message,
java.lang.Throwable cause,
java.util.List<RabbitPublishState> failures)
Creates a new exception.
|
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.util.List<RabbitPublishState>> |
getFailures() |
public RabbitClientException(java.lang.String message)
message
- The messagepublic RabbitClientException(java.lang.String message, java.util.List<RabbitPublishState> failures)
message
- The messagefailures
- The messages that failed to sendpublic RabbitClientException(java.lang.String message, java.lang.Throwable cause)
message
- The messagecause
- The causepublic RabbitClientException(java.lang.String message, java.lang.Throwable cause, java.util.List<RabbitPublishState> failures)
message
- The messagecause
- The causefailures
- The messages that failed to sendpublic java.util.Optional<java.util.List<RabbitPublishState>> getFailures()