Class CommandRejectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
be.theking90000.mumble.controller.core.ControllerException
be.theking90000.mumble.controller.core.CommandRejectedException
- All Implemented Interfaces:
Serializable
The runtime rejected one correlated command without closing the session.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCommandRejectedException(String code, String message) Creates a rejection reported by either Core or the negotiated typed profile. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CommandRejectedException
Creates a rejection reported by either Core or the negotiated typed profile.- Parameters:
code- stable protocol error codemessage- human-readable diagnostic
-
-
Method Details
-
code
Returns the stable protocol error code supplied by the runtime.- Returns:
- the rejection code
-