DUECA/DUSIME
|
An Exception class for DUECA. More...
#include <Exception.hxx>
Public Member Functions | |
Exception (const Exception &e) | |
Copy constructor. | |
Exception () | |
Empty exception constructor. | |
Exception (const GlobalId &thrower, const GlobalId &client, const char *reason=NULL) | |
Full constructor. | |
virtual | ~Exception () throw () |
Destructor. | |
const char * | getReason () const |
Return the reason for the exception. | |
virtual const char *const | getName () const =0 |
Return the name of the exception. | |
ostream & | print (ostream &os) const |
Print to a stream. | |
An Exception class for DUECA.
This class adds (if known), the GlobalId of the server who threw the exception, and the GlobalId of the client who tried something and got the exception thrown at him.
It is used to create (with a macro) standard exceptions.