Package org.jivesoftware.openfire.muc
Class ForbiddenException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.jivesoftware.openfire.muc.ForbiddenException
-
- All Implemented Interfaces:
Serializable
public class ForbiddenException extends Exception
Exception used for representing that the requested operation is forbidden for the user in the MUCRoom. There are many reasons why a forbidden error could occur such as: a banned user tries to join a room where he/she is an outcast. A 403 error code is returned to the user that requested the invalid operation.- Author:
- Gaston Dombiak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ForbiddenException()
ForbiddenException(String msg)
ForbiddenException(String msg, Throwable nestedThrowable)
ForbiddenException(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
-
-