| /*** |
| * $Id: MalformedServerReplyException.java,v 1.1 2002/04/03 01:04:27 brekke Exp $ |
| * |
| * NetComponents Internet Protocol Library |
| * Copyright (C) 1997-2002 Daniel F. Savarese |
| * |
| * This library is free software; you can redistribute it and/or |
| * modify it under the terms of the GNU Lesser General Public |
| * License as published by the Free Software Foundation; either |
| * version 2.1 of the License, or (at your option) any later version. |
| * |
| * This library is distributed in the hope that it will be useful, |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| * Lesser General Public License for more details. |
| * |
| * You should have received a copy of the GNU Lesser General Public |
| * License along with this library in the LICENSE file; if not, write |
| * to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, |
| * Boston, MA 02111-1307 USA |
| ***/ |
| |
| package com.oroinc.net; |
| |
| import java.io.*; |
| |
| /*** |
| * This exception is used to indicate that the reply from a server |
| * could not be interpreted. Most of the NetComponents classes attempt |
| * to be as lenient as possible when receiving server replies. Many |
| * server implementations deviate from IETF protocol specifications, making |
| * it necessary to be as flexible as possible. However, there will be |
| * certain situations where it is not possible to continue an operation |
| * because the server reply could not be interpreted in a meaningful manner. |
| * In these cases, a MalformedServerReplyException should be thrown. |
| * <p> |
| * <p> |
| * @author Daniel F. Savarese |
| ***/ |
| |
| public class MalformedServerReplyException extends IOException { |
| |
| /*** Constructs a MalformedServerReplyException with no message ***/ |
| public MalformedServerReplyException() { |
| super(); |
| } |
| |
| /*** |
| * Constructs a MalformedServerReplyException with a specified message. |
| * <p> |
| * @param message The message explaining the reason for the exception. |
| ***/ |
| public MalformedServerReplyException(String message) { |
| super(message); |
| } |
| |
| } |