Interface SerialPortDataListenerWithExceptions

All Superinterfaces:
EventListener, SerialPortDataListener

public interface SerialPortDataListenerWithExceptions extends SerialPortDataListener
This interface must be implemented to enable simple event-based serial port I/O with a custom Exception callback.
See Also:
  • Method Details

    • catchException

      void catchException(Exception e)
      Must be overridden to handle any Java exceptions that occur asynchronously in this data listener.
      Parameters:
      e - An Exception object containing information about the exception that occurred.