public class RabbitClientException
extends io.micronaut.messaging.exceptions.MessagingClientException
Constructor and Description |
---|
RabbitClientException(String message)
Creates a new exception.
|
RabbitClientException(String message,
List<RabbitPublishState> failures)
Creates a new exception.
|
RabbitClientException(String message,
Throwable cause)
Creates a new exception.
|
RabbitClientException(String message,
Throwable cause,
List<RabbitPublishState> failures)
Creates a new exception.
|
Modifier and Type | Method and Description |
---|---|
Optional<List<RabbitPublishState>> |
getFailures() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RabbitClientException(String message)
message
- The messagepublic RabbitClientException(String message, List<RabbitPublishState> failures)
message
- The messagefailures
- The messages that failed to sendpublic RabbitClientException(String message, Throwable cause)
message
- The messagecause
- The causepublic RabbitClientException(String message, Throwable cause, List<RabbitPublishState> failures)
message
- The messagecause
- The causefailures
- The messages that failed to sendpublic Optional<List<RabbitPublishState>> getFailures()