Secure FTP Factory

com.jscape.inet.sftp
Class SftpPermissionDeniedException

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.SftpPermissionDeniedException
All Implemented Interfaces:
java.io.Serializable

public class SftpPermissionDeniedException
extends SftpException

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

See Also:
Serialized Form

Constructor Summary
SftpPermissionDeniedException(java.lang.String resource)
          Creates a new SftpPermissionDeniedException instance.
 
Method Summary
 java.lang.String getResource()
          Gets resource that caused this exception
 
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

SftpPermissionDeniedException

public SftpPermissionDeniedException(java.lang.String resource)
Creates a new SftpPermissionDeniedException instance.

Parameters:
resource - the resource that caused this exception
Method Detail

getResource

public java.lang.String getResource()
Gets resource that caused this exception

Returns:
the resource

Secure FTP Factory

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