|
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.BadVersionException
public class BadVersionException
The SFTP incompatible client/server versions error. May be thrown while SFTP protocol initialization.
Constructor Summary | |
---|---|
BadVersionException(int clientVersion,
int serverVersion)
Creates a new error instance for specified client/server protocol versions. |
|
BadVersionException(java.lang.String message,
int clientVersion,
int serverVersion)
Creates a new error instance with specified message. |
Method Summary | |
---|---|
int |
getClientVersion()
Obtains client protocol version. |
int |
getServerVersion()
Obtains server protocol version. |
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 BadVersionException(int clientVersion, int serverVersion)
clientVersion
- client protocol versionserverVersion
- server protocol versionpublic BadVersionException(java.lang.String message, int clientVersion, int serverVersion)
message
- error messageclientVersion
- client protocol versionserverVersion
- server protocol versionMethod Detail |
---|
public int getClientVersion()
public int getServerVersion()
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |