6 #include <utl/AugerException.h>
25 cerr <<
"==> Trying to catch generic exception with sub-class exception"
31 cerr <<
"Non-existent component exception: "
32 << ex.GetExceptionName() << endl;
33 cerr <<
"Message: " << ex.
GetMessage() << endl;
Base class for all exceptions used in the auger offline code.
Base class for exceptions trying to access non-existing components.
int main(int argc, char *argv[])
const std::string & GetMessage() const
Retrieve the message from the exception.