net.sf.hermesftp.exception
Class FtpPermissionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by net.sf.hermesftp.exception.FtpException
                  extended by net.sf.hermesftp.exception.FtpPermissionException
All Implemented Interfaces:
java.io.Serializable

public class FtpPermissionException
extends FtpException

Exception that indicates the attempted violation of access rights.

Author:
Lars Behnke
See Also:
Serialized Form

Constructor Summary
FtpPermissionException()
          Constructor.
FtpPermissionException(java.lang.String message)
          Constructor.
 
Method Summary
protected  java.lang.String getCategory()
          Returns the error specific category.
 
Methods inherited from class net.sf.hermesftp.exception.FtpException
toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FtpPermissionException

public FtpPermissionException()
Constructor.


FtpPermissionException

public FtpPermissionException(java.lang.String message)
Constructor.

Parameters:
message - The error message.
Method Detail

getCategory

protected java.lang.String getCategory()
Returns the error specific category. Must be overwritten by subclasses.

Overrides:
getCategory in class FtpException
Returns:
The error category.


Copyright © 2005-2007 Lars Behnke. All Rights Reserved.