Package org.jivesoftware.openfire.muc
Class NotAcceptableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.jivesoftware.openfire.muc.NotAcceptableException
-
- All Implemented Interfaces:
Serializable
public class NotAcceptableException extends Exception
Exception used for representing that the nickname used by the user is not acceptable. The reason for this could be that the user has previously registered with the room and the room is configured so that registered users must join using the reserved nickname. A 406 error code is returned to the user that requested the invalid operation.- Author:
- Gaston Dombiak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotAcceptableException()
NotAcceptableException(String msg)
NotAcceptableException(String msg, Throwable nestedThrowable)
NotAcceptableException(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
-
-