public class PacketRejectedException extends Exception
PacketInterceptor,
Serialized Form| Constructor and Description |
|---|
PacketRejectedException() |
PacketRejectedException(String msg) |
PacketRejectedException(String msg,
Throwable nestedThrowable) |
PacketRejectedException(Throwable nestedThrowable) |
| Modifier and Type | Method and Description |
|---|---|
String |
getRejectionMessage()
Retuns the text to include in a message that will be sent to the sender of the packet
that got rejected or null if none was defined.
|
void |
printStackTrace() |
void |
printStackTrace(PrintStream ps) |
void |
printStackTrace(PrintWriter pw) |
void |
setRejectionMessage(String rejectionMessage)
Sets the text to include in a message that will be sent to the sender of the packet
that got rejected or null if no message will be sent to the sender of the
rejected packet.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic PacketRejectedException()
public PacketRejectedException(String msg)
public PacketRejectedException(Throwable nestedThrowable)
public void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream ps)
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter pw)
printStackTrace in class Throwablepublic String getRejectionMessage()
public void setRejectionMessage(String rejectionMessage)
rejectionMessage - the text to include in the notification message for the rejection.Copyright © 2003-2008 Jive Software.