diff options
Diffstat (limited to 'libdimensionxx/error.cpp')
-rw-r--r-- | libdimensionxx/error.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libdimensionxx/error.cpp b/libdimensionxx/error.cpp index fce453e..948a8c0 100644 --- a/libdimensionxx/error.cpp +++ b/libdimensionxx/error.cpp @@ -19,6 +19,8 @@ *************************************************************************/ #include "dimensionxx.hpp" +#include <stdexcept> +#include <string> namespace Dimension { @@ -33,4 +35,7 @@ namespace Dimension { dmnsn_set_resilience(static_cast<dmnsn_severity>(resilience)); } + + Dimension_Error::Dimension_Error(const std::string& str) + : std::runtime_error(str) { } } |