com.jscape.inet.ftp

## Class FtpException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - com.jscape.inet.ftp.FtpException

- All Implemented Interfaces:
    java.io.Serializable
  Direct Known Subclasses:
    FtpConnectionLostException, FtpTimeoutException

      public class FtpException
      extends java.lang.Exception

  FtpException is thrown by many methods of Ftp class. The methods are masking various exception types into FtpException, but the event message will be propagated.

  In case that the cause for throwing FtpException is not exception but invalid client operation or server response, FtpException message will contain textual part of server response.

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FtpException(java.lang.String msg)` Creates exception with specified message string.
    `FtpException(java.lang.String message, java.lang.Throwable cause)` Creates exception with specified message string and source exception
    `FtpException(java.lang.Throwable cause)`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### FtpException

          public FtpException(java.lang.String msg)

      Creates exception with specified message string.
      Parameters:
        `msg` - the message of exception

    - #### FtpException

          public FtpException(java.lang.String message,
                              java.lang.Throwable cause)

      Creates exception with specified message string and source exception
      Parameters:
        `message` - the message of exception
        `cause` - the exception which caused this exception

    - #### FtpException

          public FtpException(java.lang.Throwable cause)

Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved