Package org.jivesoftware.openfire.muc
Class RegistrationRequiredException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.jivesoftware.openfire.muc.RegistrationRequiredException
-
- All Implemented Interfaces:
Serializable
public class RegistrationRequiredException extends Exception
Exception used for representing that the user needs to register with the room in order to perform the requested operation. There are many reasons why a registration-required error could occur such as: a user which is not a member tries to join a members-only room. A 407 error code is returned to the user that requested the invalid operation.- Author:
- Gaston Dombiak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RegistrationRequiredException()
RegistrationRequiredException(String msg)
RegistrationRequiredException(String msg, Throwable nestedThrowable)
RegistrationRequiredException(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
-
-