1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.commons.net;
17
18 import java.io.IOException;
19
20 /***
21 * This exception is used to indicate that the reply from a server
22 * could not be interpreted. Most of the NetComponents classes attempt
23 * to be as lenient as possible when receiving server replies. Many
24 * server implementations deviate from IETF protocol specifications, making
25 * it necessary to be as flexible as possible. However, there will be
26 * certain situations where it is not possible to continue an operation
27 * because the server reply could not be interpreted in a meaningful manner.
28 * In these cases, a MalformedServerReplyException should be thrown.
29 * <p>
30 * <p>
31 * @author Daniel F. Savarese
32 ***/
33
34 public class MalformedServerReplyException extends IOException
35 {
36
37 /*** Constructs a MalformedServerReplyException with no message ***/
38 public MalformedServerReplyException()
39 {
40 super();
41 }
42
43 /***
44 * Constructs a MalformedServerReplyException with a specified message.
45 * <p>
46 * @param message The message explaining the reason for the exception.
47 ***/
48 public MalformedServerReplyException(String message)
49 {
50 super(message);
51 }
52
53 }