public class AmqpRejectAndDontRequeueException extends AmqpException
Constructor and Description |
---|
AmqpRejectAndDontRequeueException(String message)
Construct an instance with the supplied argument.
|
AmqpRejectAndDontRequeueException(String message,
boolean rejectManual,
Throwable cause)
Construct an instance with the supplied arguments.
|
AmqpRejectAndDontRequeueException(String message,
Throwable cause)
Construct an instance with the supplied arguments.
|
AmqpRejectAndDontRequeueException(Throwable cause)
Construct an instance with the supplied argument.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isRejectManual()
True if the container should reject the message, even with manual acks.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AmqpRejectAndDontRequeueException(String message)
message
- A message describing the problem.public AmqpRejectAndDontRequeueException(Throwable cause)
cause
- the cause.public AmqpRejectAndDontRequeueException(String message, Throwable cause)
message
- A message describing the problem.cause
- the cause.public AmqpRejectAndDontRequeueException(@Nullable String message, boolean rejectManual, @Nullable Throwable cause)
message
- A message describing the problem.rejectManual
- true to reject the message, even with Manual Acks if this is
the top-level exception (e.g. thrown by an error handler).cause
- the cause.