Class AdminException

All Implemented Interfaces:
Serializable

public class AdminException extends RuntimeException
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 Details

    • AdminException

      public AdminException(String message)
      Parameters:
      message - what happened, and where to look
    • AdminException

      public AdminException(String message, Throwable cause)
      Parameters:
      message - what happened, and where to look
      cause - the underlying failure