Class ServerException

All Implemented Interfaces:
Serializable

public class ServerException extends FTPException
Indicates that operation failed because of conditions on the server, independent from the client. For instance, the server did not understand command, or could not read file. Note that here "server" can mean either a remote server, or the local internal server (FTPServerFacade).
See Also:
  • Field Details

    • SERVER_REFUSED

      public static final int SERVER_REFUSED
      Server refused performing the request
      See Also:
    • WRONG_PROTOCOL

      public static final int WRONG_PROTOCOL
      The communication from the server was not understood, possibly because of incompatible protocol.
      See Also:
    • UNSUPPORTED_FEATURE

      public static final int UNSUPPORTED_FEATURE
      See Also:
    • REPLY_TIMEOUT

      public static final int REPLY_TIMEOUT
      See Also:
    • PREVIOUS_TRANSFER_ACTIVE

      public static final int PREVIOUS_TRANSFER_ACTIVE
      See Also:
    • codeExplained

      private static String[] codeExplained
    • customMessage

      protected String customMessage
  • Constructor Details

    • ServerException

      public ServerException(int code, String message)
    • ServerException

      public ServerException(int code)
  • Method Details