Secure FTP Factory

com.jscape.inet.sftp
Class SftpAuthenticationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended bycom.jscape.inet.sftp.SftpException
                  extended bycom.jscape.inet.sftp.SftpAuthenticationException
All Implemented Interfaces:
java.io.Serializable

public class SftpAuthenticationException
extends com.jscape.inet.sftp.SftpException

Exception thrown when trying to create or access a resource with insufficient permissions.

See Also:
Serialized Form

Constructor Summary
SftpAuthenticationException(java.lang.String hostname, java.lang.String username)
          Creates new SftpAuthenticationException instance
 
Method Summary
 java.lang.String getHostname()
          Gets hostname of sftp server
 java.lang.String getUsername()
          Gets username of sftp user
 
Methods inherited from class com.jscape.inet.sftp.SftpException
getException
 
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

SftpAuthenticationException

public SftpAuthenticationException(java.lang.String hostname,
                                   java.lang.String username)
Creates new SftpAuthenticationException instance

Parameters:
hostname - the hostname of sftp server
username - the username of sftp user
Method Detail

getHostname

public java.lang.String getHostname()
Gets hostname of sftp server

Returns:
the hostname

getUsername

public java.lang.String getUsername()
Gets username of sftp user

Returns:
the username

Secure FTP Factory

Copyright JSCAPE 1999-2007 All Rights Reserved