public class PacketRejectedException extends Exception
PacketInterceptor
,
Serialized FormConstructor 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, toString
public PacketRejectedException()
public PacketRejectedException(String msg)
public PacketRejectedException(Throwable nestedThrowable)
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintStream ps)
printStackTrace
in class Throwable
public void printStackTrace(PrintWriter pw)
printStackTrace
in class Throwable
public String getRejectionMessage()
public void setRejectionMessage(String rejectionMessage)
rejectionMessage
- the text to include in the notification message for the rejection.Copyright © 2003-2008 Jive Software.