![]() |
The Simons
|
#include <MethodError.h>
Inheritance diagram for MethodError:
MethodError is not raised directly, but classifies those exceptions that signal the failure of a method, usually because they have been invoked with their preconditions violated. Subclasses of MethodError include Undefined, OutOfRange and NoElements. MethodError captures common information about the failed Object and the name of the failed method.
Public Member Functions | |
MethodError () | |
Construct a default MethodError. | |
virtual | ~MethodError () |
Release an MethodError. | |
MethodError (ObjectID, StringID, StringID) | |
Construct an MethodError reporting failure of a method in an Object. | |
StringID | method () const |
Access the name of the failed method. | |
Protected Member Functions | |
MethodError (const MethodError &) | |
Copy another MethodError. | |
Protected Attributes | |
StringID | failedMethod |
The name of the failed Method. |
|
Copy another MethodError. Required by C++ to ensure that copying an MethodError faithfully copies an Exception.
|
|
Construct a default MethodError.
|
|
Release an MethodError.
|
|
Construct an MethodError reporting failure of a method in an Object. Used by subclasses to record common information about the failure. |
|
Access the name of the failed method.
|
|
The name of the failed Method.
|