![]() |
The Simons
|
#include <DeviceError.h>
Inheritance diagram for DeviceError:
DeviceError is not raised directly, but classifies those exceptions that signal the failure of some device, either because it could not be found, or because it is not responding. Subclasses of DeviceError include NotFound and NoResponse. DeviceError captures common information about the device and its name.
Public Member Functions | |
DeviceError () | |
Construct a default DeviceError. | |
virtual | ~DeviceError () |
Release a DeviceError. | |
DeviceError (ObjectID, StringID, StringID) | |
Construct a DeviceError reporting failure to interact with a device. | |
StringID | name () const |
Access the name of the failed device. | |
Protected Member Functions | |
DeviceError (const DeviceError &) | |
Copy another DeviceError. | |
Protected Attributes | |
StringID | deviceName |
The name of the failed device. |
|
Copy another DeviceError. Required by C++ to ensure that copying an DeviceError faithfully copies an Exception.
|
|
Construct a default DeviceError.
|
|
Release a DeviceError.
|
|
Construct a DeviceError reporting failure to interact with a device. Used by subclasses to record common information about the failure.
|
|
Access the name of the failed device.
|
|
The name of the failed device.
|