summaryrefslogtreecommitdiff
path: root/lowlevelilinstruction.h
diff options
context:
space:
mode:
Diffstat (limited to 'lowlevelilinstruction.h')
-rw-r--r--lowlevelilinstruction.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lowlevelilinstruction.h b/lowlevelilinstruction.h
index 7557a1ec..99aba8ad 100644
--- a/lowlevelilinstruction.h
+++ b/lowlevelilinstruction.h
@@ -355,11 +355,10 @@ namespace BinaryNinja
/*!
\ingroup lowlevelil
*/
- class LowLevelILInstructionAccessException : public std::exception
+ class LowLevelILInstructionAccessException : public ExceptionWithStackTrace
{
public:
- LowLevelILInstructionAccessException() : std::exception() {}
- virtual const char* what() const NOEXCEPT { return "invalid access to LLIL instruction"; }
+ LowLevelILInstructionAccessException() : ExceptionWithStackTrace("invalid access to LLIL instruction") {}
};
/*!