20 #ifndef HURRICANE_INTERRUPTION
21 #define HURRICANE_INTERRUPTION
23 #include "hurricane/Exception.h"
44 private:
string _reason;
62 public:
string getReason()
const {
return _reason;};
63 public:
int getCode()
const {
return _code;};
68 public:
virtual string _getTypeName()
const {
return _TName(
"Interruption"); };
69 public:
virtual string _getString()
const;
Exception description (API)
Definition: Exception.h:34
Interruption description (API)
Definition: Interruption.h:33
Interruption & operator=(const Interruption &interruption)
Exception Inherit
Definition: Interruption.h:39
Interruption(const Interruption &interruption)
Interruption(const string &reason, int code=0)
The namespace dedicated to Hurricane.
Definition: Generalities.dox:5