public boolean getCTS() { try { return port.isCTS(); } catch (SerialPortException e) { throw new RuntimeException("Error reading the CTS line: " + e.getExceptionType()); } }