Package org.acemq.amqp.api
Class PublishFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.acemq.amqp.api.AceMqException
org.acemq.amqp.api.PublishFailedException
- All Implemented Interfaces:
Serializable
Raised when a publish did not result in a message the broker took responsibility for and
could route.
Unroutable publishes raise this too. Silently dropping a message because no queue was bound is the failure mode this library exists to prevent, so it is an error unless the caller opts out.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPublishFailedException(String message) PublishFailedException(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
-
PublishFailedException
-
PublishFailedException
-