The state of this exception includes the device monitor object from which the exception was thrown, the DSPortAdapter object that was being used by the monitor, and the exact exception that was thrown.
Public Member Functions | |
AbstractDeviceMonitor | getMonitor () |
Returns the monitor which generated this event. | |
DSPortAdapter | getAdapter () |
Returns DSPortAdapter the monitor was using when the event was generated. | |
Exception | getException () |
Returns the wrapped exception that was generated during a 1-Wire search. | |
void | throwException () throws Exception |
Throws the wrapped exception to the calling object. | |
String | toString () |
Converts this object to a String. | |
Protected Attributes | |
AbstractDeviceMonitor | deviceMonitor = null |
The monitor which generated the event. | |
DSPortAdapter | adapter = null |
The DSPortAdapter the monitor was using at the time of event. | |
Exception | exception |
The exception that was generated by the search. | |
Package Functions | |
DeviceMonitorException (AbstractDeviceMonitor deviceMonitor, DSPortAdapter adapter, Exception exception) | |
Creates a new DeviceMonitor event with the specified characteristics. |
DeviceMonitorException | ( | AbstractDeviceMonitor | deviceMonitor, | |
DSPortAdapter | adapter, | |||
Exception | exception | |||
) | [package] |
Creates a new DeviceMonitor event with the specified characteristics.
source | The monitor which generated the exception | |
adapter | The DSPortAdapter the monitor was using | |
exception | The actual exception which was thrown |
AbstractDeviceMonitor getMonitor | ( | ) |
Returns the monitor which generated this event.
DSPortAdapter getAdapter | ( | ) |
Returns DSPortAdapter the monitor was using when the event was generated.
Exception getException | ( | ) |
Returns the wrapped exception that was generated during a 1-Wire search.
String toString | ( | ) |
Converts this object to a String.