1 2 3 4 5 6 7 8
public class SerialComPortException extends RuntimeException { private static final long serialVersionUID = 1L; public SerialComPortException(String portName) { super("Connection to port " + portName + " failed !"); } }