refactor exceptions and exceptions hierarchy
This commit is contained in:
parent
0332920d63
commit
3b01169726
2 changed files with 106 additions and 59 deletions
|
|
@ -122,9 +122,9 @@ public :
|
|||
/**
|
||||
* Loading error thrown when nothing seems to work.
|
||||
*/
|
||||
struct loading_error : public std::runtime_error
|
||||
struct loading_error : public eoException
|
||||
{
|
||||
loading_error(std::string huh = "Error while loading") : std::runtime_error(huh) {}
|
||||
loading_error(std::string huh = "Error while loading") : eoException(huh) {}
|
||||
};
|
||||
|
||||
std::string getCommentString(void) const { return "#"; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue