Skip to content

Commit

Permalink
javadoc lint abstractserialportcontroller
Browse files Browse the repository at this point in the history
  • Loading branch information
icklesteve committed May 12, 2020
1 parent 43a2870 commit a1d92f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions java/src/jmri/jmrix/AbstractSerialPortController.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ public String handlePortBusy(PortInUseException p, String portName, Logger log)

/**
* Standard error handling for port-not-found case.
* @param p no such port exception.
* @param portName port name.
* @param log system log.
* @return human readable string with error detail.
*/
public String handlePortNotFound(NoSuchPortException p, String portName, Logger log) {
log.error("Serial port {} not found", portName);
Expand Down

0 comments on commit a1d92f2

Please sign in to comment.