Class FileTransferRejectedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- rocks.xmpp.core.XmppException
-
- rocks.xmpp.extensions.filetransfer.FileTransferRejectedException
-
- All Implemented Interfaces:
Serializable
public final class FileTransferRejectedException extends XmppException
This is generic exception when a file transfer request has been rejected. The reason for it is, that different file transfer protocols use different ways to indicate file transfer rejection:- XEP-0066: Out of Band Data uses the
<not-acceptable/>
stanza error - XEP-0095: Stream Initiation / XEP-0096: SI File Transfer uses the
<forbidden/>
stanza error - XEP-0166: Jingle / XEP-0234: Jingle File Transfer uses
action='session-terminate'
and<decline/>
to reject an offer.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileTransferRejectedException()
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-