1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.commons.net.tftp;
17
18 /***
19 * A class used to signify the occurrence of an error in the creation of
20 * a TFTP packet. It is not declared final so that it may be subclassed
21 * to identify more specific errors. You would only want to do this if
22 * you were building your own TFTP client or server on top of the
23 * {@link org.apache.commons.net.tftp.TFTP}
24 * class if you
25 * wanted more functionality than the
26 * {@link org.apache.commons.net.tftp.TFTPClient#receiveFile receiveFile()}
27 * and
28 * {@link org.apache.commons.net.tftp.TFTPClient#sendFile sendFile()}
29 * methods provide.
30 * <p>
31 * <p>
32 * @author Daniel F. Savarese
33 * @see TFTPPacket
34 * @see TFTP
35 ***/
36
37 public class TFTPPacketException extends Exception
38 {
39
40 /***
41 * Simply calls the corresponding constructor of its superclass.
42 ***/
43 public TFTPPacketException()
44 {
45 super();
46 }
47
48 /***
49 * Simply calls the corresponding constructor of its superclass.
50 ***/
51 public TFTPPacketException(String message)
52 {
53 super(message);
54 }
55 }