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, toString
public FileTransferRejectedException()
public FileTransferRejectedException(String msg)
public FileTransferRejectedException(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()
null
if none was defined. If no text was
specified then no message will be sent to the parties of the rejected file transfer.null
if none was defined.public void setRejectionMessage(String rejectionMessage)
null
if no message will be sent to the parties
of the rejected file transfer. Bt default, no message will be sent.rejectionMessage
- the text to include in the notification message for the rejection.Copyright © 2003–2019 Ignite Realtime. All rights reserved.