Package org.acemq.rabbitmq.admin
Class AdminException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.acemq.rabbitmq.admin.AdminException
- All Implemented Interfaces:
Serializable
Something went wrong talking to the management API.
Unchecked, matching AceMqException in the messaging library: an administrative
call fails for reasons a caller usually cannot handle at the call site, and a checked
exception here would be caught and rethrown in every one of them.
The message is expected to say which of the four usual causes it was — wrong credentials, the plugin not enabled, the object not there, or the broker refusing — because they look identical from a stack trace and are fixed in completely different places.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAdminException(String message) AdminException(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
-
AdminException
- Parameters:
message- what happened, and where to look
-
AdminException
- Parameters:
message- what happened, and where to lookcause- the underlying failure
-