net.sf.hermesftp.exception
Class FtpIllegalCmdException

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

public class FtpIllegalCmdException
extends FtpException

Exception that is thrown by the command reader if an unrecognized command token is received from the client.

Author:
Lars Behnke
See Also:
Serialized Form

Constructor Summary
FtpIllegalCmdException()
          Constructor.
FtpIllegalCmdException(java.lang.String cmdLine)
          Constructor.
 
Method Summary
protected  java.lang.String getCategory()
          Returns the error specific category.
 java.lang.String getCmdLine()
          Getter method for the java bean cmdLine.
 
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

FtpIllegalCmdException

public FtpIllegalCmdException()
Constructor.


FtpIllegalCmdException

public FtpIllegalCmdException(java.lang.String cmdLine)
Constructor.

Parameters:
cmdLine - The invalid command line received from the client.
Method Detail

getCmdLine

public java.lang.String getCmdLine()
Getter method for the java bean cmdLine.

Returns:
Returns the value of the java bean cmdLine.

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.