![]() |
The Simons
|
#include <ObjectError.h>
Inheritance diagram for ObjectError:
ObjectError is not raised directly, but classifies those exceptions that signal a basic failure to obtain a valid object. Subclasses of ObjectError include NullPointer and TypeFailure. ObjectError captures common information about the failed Object and its expected Type.
Public Member Functions | |
ObjectError () | |
Construct a default ObjectError. | |
virtual | ~ObjectError () |
Release an ObjectError. | |
ObjectError (ObjectID, TypeID, StringID) | |
Construct an ObjectError reporting failure in an Object. | |
TypeID | expectedType () const |
Access the expected Type. | |
Protected Member Functions | |
ObjectError (const ObjectError &) | |
Copy another ObjectError. | |
Protected Attributes | |
TypeID | desiredType |
The expected Type of the failed Object. |
|
Copy another ObjectError. Required by C++ to ensure that copying an ObjectError faithfully copies an Exception.
|
|
Construct a default ObjectError.
|
|
Release an ObjectError.
|
|
Construct an ObjectError reporting failure in an Object. Used by subclasses to record common information about the failure. |
|
Access the expected Type.
|
|
The expected Type of the failed Object.
|