plugins/dm.objectives/util/ObjectivesException.h
raw| 1 | #include <stdexcept> |
| 2 | |
| 3 | namespace objectives { |
| 4 | |
| 5 | /** |
| 6 | * Exception thrown when a critical error occurs in the dialog. |
| 7 | */ |
| 8 | class ObjectivesException : |
| 9 | public std::runtime_error |
| 10 | { |
| 11 | public: |
| 12 | ObjectivesException(const std::string& what) : |
| 13 | std::runtime_error(what) |
| 14 | {} |
| 15 | }; |
| 16 | |
| 17 | } // namespace objectives |