ROSE 0.11.145.147
Rose/BinaryAnalysis/Architecture/Exception.h
1#ifndef ROSE_BinaryAnalysis_Architecture_Exception_H
2#define ROSE_BinaryAnalysis_Architecture_Exception_H
3#include <featureTests.h>
4#ifdef ROSE_ENABLE_BINARY_ANALYSIS
5
6#include <Rose/Exception.h>
7
8#include <string>
9
10namespace Rose {
11namespace BinaryAnalysis {
12namespace Architecture {
13
16public:
18 Exception(const std::string &message);
19
20 // WARNING: Defined in Exception.C with different behavior
21 // ~Exception() throw();
22 ~Exception();
23};
24
26class NotFound: public Exception {
27public:
29 NotFound(const std::string &message);
30
31 // WARNING: Defined in Exception.C with different behavior
32 // ~NotFound() throw();
33 ~NotFound();
34};
35
36} // namespace
37} // namespace
38} // namespace
39
40#endif
41#endif
Base class for exceptions thrown by architecture definitions.
Exception(const std::string &message)
Constructs exception with message.
NotFound(const std::string &message)
Constructs exception with message.
Base class for all ROSE exceptions.
The ROSE library.
const char * Architecture(int64_t)
Convert Rose::BinaryAnalysis::Disassembler::Mips::Decoder::Architecture enum constant to a string.