org.deltava.util.ftp
Class FTPClientException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.deltava.servlet.ControllerException
              extended by org.deltava.dao.DAOException
                  extended by org.deltava.util.ftp.FTPClientException
All Implemented Interfaces:
Serializable

public class FTPClientException
extends DAOException

A class to treat FTP exceptions as a DAO exception.

Since:
1.0
Version:
2.3
Author:
Luke
See Also:
Serialized Form

Constructor Summary
FTPClientException(String msg)
          Creates a new FTP exception with a message.
FTPClientException(Throwable t)
          Creates a new FTP exception from another exception.
 
Method Summary
 int getResultCode()
          Returns the FTP error code.
 void setResultCode(int code)
          Sets the FTP error code.
 
Methods inherited from class org.deltava.servlet.ControllerException
getForwardURL, getLogStackDump, isWarning, setForwardURL, setLogStackDump, setWarning
 
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
 

Constructor Detail

FTPClientException

FTPClientException(Throwable t)
Creates a new FTP exception from another exception.

Parameters:
t - the root exception

FTPClientException

FTPClientException(String msg)
Creates a new FTP exception with a message.

Parameters:
msg - the exception message
Method Detail

getResultCode

public int getResultCode()
Returns the FTP error code.

Returns:
the error code

setResultCode

public void setResultCode(int code)
Sets the FTP error code.

Parameters:
code - the error code


Copyright © 2004-2009 Global Virtual Airlines Group. All Rights Reserved.