net.sf.hermesftp.exception
Class FtpCmdException

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.FtpCmdException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FtpCmdResponseException, FtpQuitException

public class FtpCmdException
extends FtpException

Exception that is generated by FTP commands.

Author:
Lars Behnke
See Also:
Serialized Form

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

FtpCmdException

public FtpCmdException()
Constructor.


FtpCmdException

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

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