Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.archive.net
Class FTPException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.io.IOException
                  org.archive.net.FTPException

All Implemented Interfaces:
  java.io.Serializable

    public class FTPException

extends java.io.IOException

Indicates that a FTP operation failed due to a protocol violation. For instance, if authentication fails.

Author:
  pjack
See Also:
  Serialized Form

Constructor Summary
`FTPException(int code)` Constructs a new `FTPException`.

Method Summary
`int` | `getReplyCode()` Returns the error code from the FTP server.

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

### FTPException

    public FTPException(int code)

  Constructs a new `FTPException`.

  Parameters:
    `code` - the error code from the FTP server

Method Detail

### getReplyCode

    public int getReplyCode()

  Returns the error code from the FTP server.

  Returns:
    the error code from the FTP server

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2008 Internet Archive. All Rights Reserved.