net.sf.hermesftp.exception
Class FtpQuotaException

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

public class FtpQuotaException
extends FtpException

Exception thrown by the FTP server when a client has reached quota limits. These limits can be configured in the hermes context file.

Author:
Lars Behnke
See Also:
Serialized Form

Constructor Summary
FtpQuotaException()
          Constructor.
FtpQuotaException(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

FtpQuotaException

public FtpQuotaException()
Constructor.


FtpQuotaException

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

Parameters:
message - The message to be displayed.
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.