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
public class NotAllowedException extends Exception
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. A 405 error code is returned to the user that requested the invalid operation.- Author:
- Gaston Dombiak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotAllowedException()
NotAllowedException(String msg)
NotAllowedException(String msg, Throwable nestedThrowable)
NotAllowedException(Throwable nestedThrowable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
printStackTrace()
void
printStackTrace(PrintStream ps)
void
printStackTrace(PrintWriter pw)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-
-
-
Method Detail
-
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
public void printStackTrace(PrintStream ps)
- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
public void printStackTrace(PrintWriter pw)
- Overrides:
printStackTrace
in classThrowable
-
-