27 #ifndef CALCIUM_EXCEPTION_HXX
28 #define CALCIUM_EXCEPTION_HXX
30 #if defined(__CONST_H) || defined(__CALCIUM_H)
31 #error "The header CalciumException.hxx must be included before calcium.h"
34 #include "DSC_Exception.hxx"
35 #include "CalciumTypes.hxx"
41 const std::string & text,
43 const unsigned int lineNumber,
44 const char *funcName):
46 _info(info),_exceptionName(
"CalciumException")
51 const std::string & text ):
52 DSC_Exception(text),_info(info),_exceptionName(
"CalciumException")
56 DSC_Exception(ex),_info(info),_exceptionName(
"CalciumException")
60 CalciumTypes::InfoType getInfo()
const {
return _info;}
61 void setInfo(CalciumTypes::InfoType info) {_info=info;}
62 virtual const std::string & getExceptionName()
const {
return _exceptionName;};
65 CalciumTypes::InfoType _info;
66 std::string _exceptionName;