net.sf.hermesftp.exception
Class FtpException

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FtpCLIException, FtpCmdException, FtpConfigException, FtpConsoleException, FtpIllegalCmdException, FtpIllegalProtocolVersion, FtpPermissionException, FtpQuotaException, FtpServerException, FtpUniqueConstraintException

public class FtpException
extends java.io.IOException

Parent exception.

Author:
Lars Behnke
See Also:
Serialized Form

Constructor Summary
FtpException()
          Constructor.
FtpException(java.lang.String message)
          Constructor.
 
Method Summary
protected  java.lang.String getCategory()
          Returns the error specific category.
 java.lang.String 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

FtpException

public FtpException()
Constructor.


FtpException

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

Parameters:
message - The error message.
Method Detail

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Throwable

getCategory

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

Returns:
The error category.


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