gnu.inet.ftp
Class FTPException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by gnu.inet.ftp.FTPException
All Implemented Interfaces:
java.io.Serializable

public class FTPException
extends java.io.IOException

An FTP control exception.

Author:
Chris Burdess
See Also:
Serialized Form

Field Summary
protected  FTPResponse response
          The response that provoked this exception.
 
Constructor Summary
FTPException(FTPResponse response)
          Constructs a new FTP exception.
 
Method Summary
 FTPResponse getResponse()
          Returns the response that provoked this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

response

protected final FTPResponse response
The response that provoked this exception.

Constructor Detail

FTPException

public FTPException(FTPResponse response)
Constructs a new FTP exception.

Parameters:
response - the response that provoked this exception
Method Detail

getResponse

public FTPResponse getResponse()
Returns the response that provoked this exception.



© Copyright 2003 The Free Software Foundation, all rights reserved