Package org.apache.commons.net.tftp
Class TFTPPacketException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.commons.net.tftp.TFTPPacketException
-
- All Implemented Interfaces:
java.io.Serializable
public class TFTPPacketException extends java.lang.Exception
A class used to signify the occurrence of an error in the creation of a TFTP packet. It is not declared final so that it may be subclassed to identify more specific errors. You would only want to do this if you were building your own TFTP client or server on top of theTFTP
class if you wanted more functionality than thereceiveFile()
andsendFile()
methods provide.- See Also:
TFTPPacket
,TFTP
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TFTPPacketException()
Simply calls the corresponding constructor of its superclass.TFTPPacketException(java.lang.String message)
Simply calls the corresponding constructor of its superclass.
-