Class FTPClientException

All Implemented Interfaces:
Serializable

public class FTPClientException extends DAOException
A class to treat FTP exceptions as a DAO exception.
Since:
1.0
Version:
11.2
Author:
Luke
See Also:
  • Constructor Details

    • FTPClientException

      FTPClientException(Throwable t, boolean dumpStack)
      Creates a new FTP exception from another exception.
      Parameters:
      t - the root exception
      dumpStack - TRUE to dump the stack trace, otherwise FALSE
    • FTPClientException

      FTPClientException(String msg)
      Creates a new FTP exception with a message.
      Parameters:
      msg - the exception message
  • Method Details

    • getResultCode

      public int getResultCode()
      Returns the FTP error code.
      Returns:
      the error code
    • getDumpStack

      public boolean getDumpStack()
      Returns whether the exception handler should display the stack trace.
      Returns:
      TRUE to display the stack trace, otherwise FALSE