|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
com.jscape.inet.sftp.SftpException
com.jscape.inet.sftp.RequestException
public class RequestException
The SFTP request error. May be thrown while protocol reqest/response exchange if the returned response is not expected or indicates server error.
Constructor Summary | |
---|---|
RequestException(SftpPacket request,
SftpPacket response)
Creates a new error instance for the specified request/response. |
|
RequestException(java.lang.String message,
SftpPacket request,
SftpPacket response)
Creates a new error with the specified message. |
Method Summary | |
---|---|
SftpPacket |
getRequest()
Obtains request packet. |
SftpPacket |
getResponse()
Obtains server response packet. |
Methods inherited from class com.jscape.inet.sftp.SftpException |
---|
wrap |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RequestException(SftpPacket request, SftpPacket response)
request
- client requestresponse
- server responsepublic RequestException(java.lang.String message, SftpPacket request, SftpPacket response)
message
- error messagerequest
- client requestresponse
- server responseMethod Detail |
---|
public SftpPacket getRequest()
public SftpPacket getResponse()
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |