![]() |
The Simons
|
#include <DeviceBusy.h>
Inheritance diagram for DeviceBusy:
Raise a DeviceBusy exception when an attempt is made to interact with a device, which refuses the connection. The failure is because the device is already in use by another process and so the requesting process must wait until the device is available again. For example, if the FileStream locking protocol is turned on, then an attempt to open a locked file will raise a DeviceBusy exception. DeviceBusy provides access to the failed object(), the message() and the name() of the failed object.
Public Member Functions | |
DeviceBusy () | |
Construct a default DeviceBusy. | |
virtual | ~DeviceBusy () |
Release a DeviceBusy. | |
DeviceBusy (ObjectID, StringID) | |
Construct a DeviceBusy exception. | |
virtual ObjectID | clone () const |
Clone a shallow copy of this DeviceBusy. | |
Protected Member Functions | |
DeviceBusy (const DeviceBusy &) | |
Copy another DeviceBusy. |
|
Copy another DeviceBusy. Required by C++ to ensure that copying a DeviceBusy faithfully copies a DeviceError.
|
|
Construct a default DeviceBusy.
|
|
Release a DeviceBusy.
|
|
Construct a DeviceBusy exception. Raised when an attempt is made to use a device, such as a filesystem, but the device is already in use. If the failed object refused a connection because it was already connected, handling this DeviceBusy exception will allow the failed object to resume its existing connection. If the failed object was denied access to a busy device, handling this DeviceBusy exception will allow the failed object to attempt to connect again later.
|
|
Clone a shallow copy of this DeviceBusy.
Reimplemented from Exception. |