DeviceMonitorException Class Reference

Inherits java::lang::Exception.

List of all members.


Detailed Description

Represents an encapsulated exception from a particular Device Monitor.

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.

Author:
SH
Version:
1.00

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.

Constructor & Destructor Documentation

DeviceMonitorException ( AbstractDeviceMonitor  deviceMonitor,
DSPortAdapter  adapter,
Exception  exception 
) [package]

Creates a new DeviceMonitor event with the specified characteristics.

Parameters:
source The monitor which generated the exception
adapter The DSPortAdapter the monitor was using
exception The actual exception which was thrown


Member Function Documentation

AbstractDeviceMonitor getMonitor (  ) 

Returns the monitor which generated this event.

Returns:
the monitor which generated this event

DSPortAdapter getAdapter (  ) 

Returns DSPortAdapter the monitor was using when the event was generated.

Returns:
DSPortAdapter the monitor was using

Exception getException (  ) 

Returns the wrapped exception that was generated during a 1-Wire search.

Returns:
the wrapped exception that was generated during a 1-Wire search.

String toString (  ) 

Converts this object to a String.

Returns:
a string representation of this object


The documentation for this class was generated from the following file:

Generated on Thu Aug 28 15:42:31 2008 for 1-Wire API for .NET by  doxygen 1.5.6