1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Date : 30/05/2005
// Author : N.Almeida (LIP)
#ifndef ECALTBPARSEREXCEPTION_H
#define ECALTBPARSEREXCEPTION_H
#include <iostream>
#include <string>
class ECALTBParserException {
public:
/**
* Constructor
*/
ECALTBParserException(std::string exceptionInfo_) { info_ = exceptionInfo_; }
/**
* Exception's discription
*/
const char* what() const throw() { return info_.c_str(); }
protected:
std::string info_;
};
#endif
|