![]() |
The Simons
|
#include <NoResponse.h>
Inheritance diagram for NoResponse:
Raise a NoResponse exception when an attempt is made to interact with a device, which fails to respond. The failure could be because the connection has broken, or because the device itself has failed (ie entered some unusable state). For example, while reading from an open Stream, if the connection to the underlying filesystem is lost, or a bad read operation leaves the filesystem in an unusable state, this will raise a NoResponse exception on the next attempt to read. NoResponse provides access to the failed object(), the message() and the name() of the failed object.
Public Member Functions | |
NoResponse () | |
Construct a default NoResponse. | |
virtual | ~NoResponse () |
Release a NoResponse. | |
NoResponse (ObjectID, StringID) | |
Construct a NoResponse exception. | |
virtual ObjectID | clone () const |
Clone a shallow copy of this NoResponse. | |
Protected Member Functions | |
NoResponse (const NoResponse &) | |
Copy another NoResponse. |
|
Copy another NoResponse. Required by C++ to ensure that copying an NoResponse faithfully copies a DeviceError.
|
|
Construct a default NoResponse.
|
|
Release a NoResponse.
|
|
Construct a NoResponse exception. Raised when an attempt is made to use a device, such as a filesystem, but the device does not respond. This is usually because the connection is broken. If this NoResponse exception is handled, the failed object should close down its connection to the device and attempt to reopen the connection and start again.
|
|
Clone a shallow copy of this NoResponse.
Reimplemented from Exception. |