ROSE  0.11.145.0
Rose/Exception.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.
Base class for all ROSE exceptions.
Definition: Rose/Exception.h:9