Package org.acemq.amqp.api
Class AceFatalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.acemq.amqp.api.AceMqException
org.acemq.amqp.api.AceFatalException
- All Implemented Interfaces:
Serializable
Signals a failure that retrying cannot fix, such as a message that will never be
valid for this handler.
Throwing this from a handler sends the delivery straight to the dead-letter queue, skipping every retry tier, so a poison message cannot occupy capacity.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAceFatalException(String message) AceFatalException(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AceFatalException
-
AceFatalException
-