testUncaughtException.cc
Go to the documentation of this file.
1 /*
2  Test auger excpetion hierarchy
3 */
4 
5 #include <iostream>
6 #include <utl/AugerException.h>
7 
8 using namespace std;
9 using namespace utl;
10 
12 {
13  throw AugerException("Throwing in throwGeneric.");
14  return;
15 }
16 
17 
18 int main()
19 {
20  cerr << "==> Not catching exception." << endl;
21  throwGeneric();
22 
23  return 0;
24 }
25 
26 // Configure (x)emacs for this file ...
27 // Local Variables:
28 // mode:c++
29 // compile-command: "cd ..; make -k check"
30 // End:
Base class for all exceptions used in the auger offline code.
int main(int argc, char *argv[])
Definition: DBSync.cc:58
void throwGeneric()

, generated on Tue Sep 26 2023.