Package org.jivesoftware.openfire.pubsub
Class NotAcceptableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.jivesoftware.openfire.pubsub.NotAcceptableException
-
- All Implemented Interfaces:
Serializable
public class NotAcceptableException extends Exception
Exception used for representing that the specified node configuration is not acceptable. A not acceptable error could occur if owner tries to leave the node without owners. A 406 error code is returned to the user that requested the invalid operation.- Author:
- Matt Tucker
- 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
-
-