Secure FTP Factory

com.jscape.inet.sftp
Class SftpPermissionDeniedException

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

public class SftpPermissionDeniedException
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
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 1999-2007 All Rights Reserved