1 2 3 4 5 6 7 8
public class NoSerialPortException extends Exception { private static final long serialVersionUID = 1L; public NoSerialPortException() { super("No serial port available !"); } }