Top Fields Constructors Methods
org.apache.sshd.sftp.common

public Class SftpException

extends IOException
Class Inheritance
Imports
java.io.IOException

Author
Apache MINA Project

Field Summary

Modifier and TypeField and Description
private static final long
private final int

Constructor Summary

AccessConstructor and Description
public
SftpException(int status, String msg)

Method Summary

Modifier and TypeMethod and Description
public int
public String
toString()

Overrides java.lang.Throwable.toString.

Returns a short description of this throwable.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.IOException.serialVersionUID.

statusback to summary
private final int status

Constructor Detail

SftpExceptionback to summary
public SftpException(int status, String msg)

Method Detail

getStatusback to summary
public int getStatus()
toStringback to summary
public String toString()

Overrides java.lang.Throwable.toString.

Doc from java.lang.Throwable.toString.

Returns a short description of this throwable. The result is the concatenation of:

  • the name of the class of this object
  • ": " (a colon and a space)
  • the result of invoking this object's getLocalizedMessage method
If getLocalizedMessage returns null, then just the class name is returned.
Returns:String

a string representation of this throwable.

Annotations
@Override