net.sf.hermesftp.exception
Class FtpIllegalProtocolVersion

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

public class FtpIllegalProtocolVersion
extends FtpException

Generated, if preferred IP version is not supported (see EPSV command).

Author:
Behnke
See Also:
Serialized Form

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

FtpIllegalProtocolVersion

public FtpIllegalProtocolVersion()
Constructor.


FtpIllegalProtocolVersion

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

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