source: trunk/FACT++/src/DimErrorRedirecter.h@ 18963

Last change on this file since 18963 was 10858, checked in by tbretz, 14 years ago
Changed the data member cnt's name -- it sometimes gave warnings using cnt locally in derived classes.
File size: 443 bytes
Line 
1#ifndef FACT_DimErrorRedirecter
2#define FACT_DimErrorRedirecter
3
4#include <dis.hxx>
5
6class MessageImp;
7
8class DimErrorRedirecter : public DimErrorHandler, public DimExitHandler
9{
10private:
11 static int fDimErrorRedireterCnt;
12
13 MessageImp &fMsg;
14
15 void errorHandler(int severity, int code, char *msg);
16 void exitHandler(int code) { exit(code); }
17
18public:
19 DimErrorRedirecter(MessageImp &imp);
20 ~DimErrorRedirecter();
21};
22
23#endif
Note: See TracBrowser for help on using the repository browser.