ROSE  0.11.96.11
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
Rose::Exception
Base class for all ROSE exceptions.
Definition: Rose/Exception.h:9
Rose::Exception::Exception
Exception(const std::string &s)
Construct an exception with an error message.
Definition: Rose/Exception.h:12
Rose
Main namespace for the ROSE library.
Definition: BinaryTutorial.dox:3