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