aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/Exceptions.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/armnn/Exceptions.hpp')
-rw-r--r--include/armnn/Exceptions.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/armnn/Exceptions.hpp b/include/armnn/Exceptions.hpp
index 2f7b099ac4..e3f086e376 100644
--- a/include/armnn/Exceptions.hpp
+++ b/include/armnn/Exceptions.hpp
@@ -149,6 +149,11 @@ public:
using Exception::Exception;
};
+class NullPointerException : public Exception
+{
+public:
+ using Exception::Exception;
+};
template <typename ExceptionType>
void ConditionalThrow(bool condition, const std::string& message)