Class ServerException

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Field Detail

      • SERVER_REFUSED

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

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

        public static final int PREVIOUS_TRANSFER_ACTIVE
        See Also:
        Constant Field Values
      • codeExplained

        private static java.lang.String[] codeExplained
      • customMessage

        protected java.lang.String customMessage
    • Constructor Detail

      • ServerException

        public ServerException​(int code,
                               java.lang.String message)
      • ServerException

        public ServerException​(int code)