Base class for the exception handling classes. More...
Public Member Functions
|Err () throw ()|
|Err (const char *msg) throw ()|
|Err (const Err &) throw ()|
|virtual||~Err () throw ()|
|void||Print (void) const throw ()|
|virtual const char *||what () const throw ()|
|void||Embed (const std::exception &) throw ()|
|void||Embed (const char *str) throw ()|
Base class for the exception handling classes.
Exception handling allows code that has encountered a condition it cannot cope with to return to other code, avoiding crashes by switching to the writing of error messages, managed by tbis base class.
If the call invokes the overloaded constructor, then messages can be defined either directly within the code invoking Err or in the derived class (error regarding typically formats, memory or file openings).
If the call invokes the default constructor, then the message is set to "Unknown error"
One member function : Print One data member : mMsg
|void CLAM::Err::Embed||(||const std::exception &||e||)||throw ()|
|virtual const char* CLAM::Err::what||(||)|| const throw ()