Secure iNet Factory

com.jscape.inet.sftp
Class SftpAuthenticationException

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

public class SftpAuthenticationException
extends 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 iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved