public class FileTransferRejectedException extends Exception
FileTransferEventListener when a file transfer is rejected by the Interceptor. The file
transfer is aborted and the participating parties are notified.| Constructor and Description |
|---|
FileTransferRejectedException() |
FileTransferRejectedException(String msg) |
FileTransferRejectedException(String msg,
Throwable nestedThrowable) |
FileTransferRejectedException(Throwable nestedThrowable) |
| Modifier and Type | Method and Description |
|---|---|
String |
getRejectionMessage()
Returns the text to include in a message that will be sent to the intitiator and target
of the file transfer 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 intiator and target of the
file transfer that got rejected or null if no message will be sent to the parties
of the rejected file transfer.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic FileTransferRejectedException()
public FileTransferRejectedException(String msg)
public FileTransferRejectedException(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–2019 Ignite Realtime. All rights reserved.