- remplacera NetworkAPI dans le futur - permet une connexion persistante entre les applications/processus : évite ouverture/fermeture répétitif des connexions TCP - basé sur la librairie réseau de https://github.com/marcbal/SpaceInvaderTP
18 lines
333 B
Java
18 lines
333 B
Java
package fr.pandacube.java.util.network.packet;
|
|
|
|
public class PacketException extends RuntimeException {
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
public PacketException(String m) {
|
|
super(m);
|
|
}
|
|
|
|
public PacketException(String m, Throwable t) {
|
|
super(m, t);
|
|
}
|
|
|
|
public PacketException(Throwable t) {
|
|
super(t);
|
|
}
|
|
}
|