## Uses of Class
exception.InternalError

Packages that use InternalError
protocolP2P

### Uses of InternalError in protocolP2P

Methods in protocolP2P that throw InternalError
`static ProtocolP2PDatagram` ProtocolP2PDatagram.`receive​(java.net.DatagramSocket socket)` Receive datagram on socket
`void` ProtocolP2PDatagram.`send​(java.net.DatagramSocket socket, java.lang.String host, int port)` Send datagram on socket (from client)
`void` ProtocolP2PDatagram.`send​(java.net.DatagramSocket socket, ProtocolP2PDatagram received)` Send datagram on socket (from server, as a response)

Constructors in protocolP2P that throw InternalError
`FileList​(java.lang.String[] fileList)` Constructor (typically used by the server) with an ArrayList parameter containing filenames.
`FilePart​(java.lang.String filename, long totalSize, long offset, byte[] partialContent)` Constructor (typically used by server) with informations about file part to send as parameters.
`LoadRequest​(java.lang.String filename)` Constructor (typically used by the server) with a filename parameter.
`Payload​(RequestResponseCode requestResponseCode)` Consructor used to create Payload with a payload size of zero using a RRCode.