summaryrefslogtreecommitdiff
path: root/highlevelilinstruction.h
diff options
context:
space:
mode:
Diffstat (limited to 'highlevelilinstruction.h')
-rw-r--r--highlevelilinstruction.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/highlevelilinstruction.h b/highlevelilinstruction.h
index 502dd582..0476a182 100644
--- a/highlevelilinstruction.h
+++ b/highlevelilinstruction.h
@@ -167,11 +167,10 @@ namespace BinaryNinja
/*!
\ingroup highlevelil
*/
- class HighLevelILInstructionAccessException : public std::exception
+ class HighLevelILInstructionAccessException : public ExceptionWithStackTrace
{
public:
- HighLevelILInstructionAccessException() : std::exception() {}
- virtual const char* what() const NOEXCEPT { return "invalid access to HLIL instruction"; }
+ HighLevelILInstructionAccessException() : ExceptionWithStackTrace("invalid access to HLIL instruction") {}
};
/*!