Package org.jivesoftware.openfire.muc
Class NotAllowedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jivesoftware.openfire.muc.NotAllowedException
- All Implemented Interfaces:
Serializable
Exception used for representing that the user is not allowed to perform the requested operation
in the MUCRoom. There are many reasons why a not-allowed error could occur such as: a user tries
to join a room that has reached its limit of max number of occupants, or attempts to create a
room that has been retired. A 405 error code is returned to the user that requested the
invalid operation.
- Author:
- Gaston Dombiak
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionNotAllowedException(String msg, Throwable nestedThrowable) NotAllowedException(String msg, NotAllowedException.Reason reason) NotAllowedException(String msg, NotAllowedException.Reason reason, Throwable nestedThrowable) NotAllowedException(Throwable nestedThrowable) NotAllowedException(NotAllowedException.Reason reason, Throwable nestedThrowable) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
NotAllowedException
public NotAllowedException() -
NotAllowedException
-
NotAllowedException
-
NotAllowedException
-
NotAllowedException
-
NotAllowedException
-
NotAllowedException
-
NotAllowedException
public NotAllowedException(String msg, NotAllowedException.Reason reason, Throwable nestedThrowable)
-
-
Method Details
-
getReason
-
printStackTrace
public void printStackTrace()- Overrides:
printStackTracein classThrowable
-
printStackTrace
- Overrides:
printStackTracein classThrowable
-
printStackTrace
- Overrides:
printStackTracein classThrowable
-