ROSE  0.9.11.8
RoseException.h
1 #ifndef ROSE_Exception_H
2 #define ROSE_Exception_H
3 
4 #include <stdexcept>
5 
6 namespace Rose {
7 
9 class Exception: public std::runtime_error {
10 public:
12  explicit Exception(const std::string &s): std::runtime_error(s) {}
13  ~Exception() throw() {}
14 };
15 
16 } // namespace
17 
18 #endif
STL namespace.
Main namespace for the ROSE library.
Exception(const std::string &s)
Construct an exception with an error message.
Definition: RoseException.h:12
Base class for all ROSE exceptions.
Definition: RoseException.h:9