Main Page
Class Categories
Classes
Namespaces
File List
File Members
exper-sw
cosmosw
AugerSW
Offline
source
main
Utilities
Exception
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
11
void
throwGeneric
()
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:
utl::AugerException
Base class for all exceptions used in the auger offline code.
Definition:
AugerException.h:24
main
int main(int argc, char *argv[])
Definition:
DBSync.cc:58
throwGeneric
void throwGeneric()
Definition:
testAugerException.cc:12
, generated on Tue Sep 26 2023.