Ignore:
Timestamp:
05/02/11 19:05:09 (14 years ago)
Author:
tbretz
Message:
Added exit handler; call exit handler in case of fatal error; add Dim id to messages.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/DimErrorRedirecter.h

    r10384 r10511  
    22#define FACT_DimErrorRedirecter
    33
    4 #include <dim.hxx>
     4#include <dis.hxx>
    55
    66class MessageImp;
    77
    8 class DimErrorRedirecter : public DimErrorHandler
     8class DimErrorRedirecter : public DimErrorHandler, public DimExitHandler
    99{
    1010private:
     
    1414
    1515    void errorHandler(int severity, int code, char *msg);
     16    void exitHandler(int code) { exit(code); }
    1617
    1718public:
    1819    DimErrorRedirecter(MessageImp &imp);
    1920    ~DimErrorRedirecter();
    20 
    2121};
    2222
Note: See TracChangeset for help on using the changeset viewer.