diff options
Diffstat (limited to 'Skin++/src/LifoException.hxx')
| -rwxr-xr-x | Skin++/src/LifoException.hxx | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Skin++/src/LifoException.hxx b/Skin++/src/LifoException.hxx new file mode 100755 index 0000000..79b348a --- /dev/null +++ b/Skin++/src/LifoException.hxx @@ -0,0 +1,22 @@ +/** + * Exception class for Lifo stack uses in C++ + * <P> + * + * @author Alain Hebert, Ecole Polytechnique de Montreal (2012) + */ +#ifndef LifoException_HXX +#define LifoException_HXX + +#include <string> +#include <iostream> +#include <stdexcept> + +namespace ganlib { + +class LifoException : public std::runtime_error { +public: + LifoException(const std::string& msg = ""); +}; // class LifoException */ + +} // namespace ganlib +#endif |
