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