1 #ifndef INCLUDE__Exception_hxx_
2 #define INCLUDE__Exception_hxx_
9 // Exception (const Exception&) noexcept;
10 // exception& operator= (const exception&) noexcept;
11 virtual ~Exception() {}
12 virtual const char* what() const noexcept = 0;
15 class BinaryNotSupported {
18 : message("This binary is not supported by this Disassembler") {}
19 BinaryNotSupported(const std::string& message)
20 : message("This binary is not supported by this Disassembler (" + message + ")") {}
21 const char* what() const {return message.c_str();}
27 #endif /* INCLUDE__Exception_hxx_ */