    001    /*
    002     * Licensed to the Apache Software Foundation (ASF) under one or more
    003     * contributor license agreements.  See the NOTICE file distributed with
    004     * this work for additional information regarding copyright ownership.
    005     * The ASF licenses this file to You under the Apache License, Version 2.0
    006     * (the "License"); you may not use this file except in compliance with
    007     * the License.  You may obtain a copy of the License at
    008     *
    009     *      http://www.apache.org/licenses/LICENSE-2.0
    010     *
    011     * Unless required by applicable law or agreed to in writing, software
    012     * distributed under the License is distributed on an "AS IS" BASIS,
    013     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    014     * See the License for the specific language governing permissions and
    015     * limitations under the License.
    016     */
    017
    018    package org.apache.commons.net;
    019
    020    import java.io.IOException;
    021
    022    /***
    023     * This exception is used to indicate that the reply from a server
    024     * could not be interpreted.  Most of the NetComponents classes attempt
    025     * to be as lenient as possible when receiving server replies.  Many
    026     * server implementations deviate from IETF protocol specifications, making
    027     * it necessary to be as flexible as possible.  However, there will be
    028     * certain situations where it is not possible to continue an operation
    029     * because the server reply could not be interpreted in a meaningful manner.
    030     * In these cases, a MalformedServerReplyException should be thrown.
    031     * <p>
    032     * <p>
    033     ***/
    034
    035    public class MalformedServerReplyException extends IOException
    036    {
    037
    038        private static final long serialVersionUID = 6006765264250543945L;
    039
    040        /*** Constructs a MalformedServerReplyException with no message ***/
    041        public MalformedServerReplyException()
    042        {
    043            super();
    044        }
    045
    046        /***
    047         * Constructs a MalformedServerReplyException with a specified message.
    048         * <p>
    049         * @param message  The message explaining the reason for the exception.
    050         ***/
    051        public MalformedServerReplyException(String message)
    052        {
    053            super(message);
    054        }
    055
    056    }