| 44 |
|
#define UTILS_OPENMDEXCEPTION_HPP |
| 45 |
|
namespace OpenMD { |
| 46 |
|
|
| 47 |
< |
class OpenMDException { |
| 48 |
< |
public: |
| 49 |
< |
OpenMDException() : msg_("") {} |
| 50 |
< |
OpenMDException(const std::string msg) : msg_(msg) {} |
| 51 |
< |
const std::string getMessage() {return msg_;} |
| 52 |
< |
private: |
| 53 |
< |
|
| 54 |
< |
std::string msg_; |
| 55 |
< |
|
| 56 |
< |
}; |
| 57 |
< |
|
| 47 |
> |
class OpenMDException { |
| 48 |
> |
public: |
| 49 |
> |
OpenMDException() : msg_("") {} |
| 50 |
> |
OpenMDException(const std::string &msg) : msg_(msg) {} |
| 51 |
> |
const std::string getMessage() {return msg_;} |
| 52 |
> |
private: |
| 53 |
> |
std::string msg_; |
| 54 |
> |
|
| 55 |
> |
}; |
| 56 |
> |
|
| 57 |
|
} |
| 58 |
|
#endif |