org.backsource.adaptor.ftp
Class FTPException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.backsource.utils.lang.NestableException
              extended byorg.backsource.adaptor.ftp.FTPException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FTPTimeoutException

public class FTPException
extends org.backsource.utils.lang.NestableException

Generic FTPException.

Version:
$Revision: 1.1.1.1 $
Author:
Peter Antman
See Also:
Serialized Form

Constructor Summary
FTPException()
           
FTPException(java.lang.Exception ex)
           
FTPException(java.lang.String msg)
           
FTPException(java.lang.String msg, java.lang.Exception ex)
           
 
Method Summary
 java.lang.String getMessage()
           
 java.lang.String getReason()
          Get the reason the FTP server gave.
 int getReasonCode()
          Get the reasonCode the FTP server gave.
protected  java.lang.String getReasonString()
           
 void setReason(java.lang.String reason)
           
 void setReasonCode(int reasonCode)
           
 java.lang.String toString()
           
 
Methods inherited from class org.backsource.utils.lang.NestableException
main, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FTPException

public FTPException()

FTPException

public FTPException(java.lang.Exception ex)

FTPException

public FTPException(java.lang.String msg)

FTPException

public FTPException(java.lang.String msg,
                    java.lang.Exception ex)
Method Detail

getReason

public java.lang.String getReason()
Get the reason the FTP server gave.


setReason

public void setReason(java.lang.String reason)

getReasonCode

public int getReasonCode()
Get the reasonCode the FTP server gave.


setReasonCode

public void setReasonCode(int reasonCode)

getMessage

public java.lang.String getMessage()

toString

public java.lang.String toString()

getReasonString

protected java.lang.String getReasonString()


Copyright © 2003-2004 Backsource. All Rights Reserved.