aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/Exceptions.hpp
diff options
context:
space:
mode:
authorDavid Beck <david.beck@arm.com>2018-10-12 10:38:31 +0100
committerMatthew Bentham <matthew.bentham@arm.com>2018-10-22 16:57:53 +0100
commit3cc9a626773ae9e79d3d0bd9c120704676d44daa (patch)
tree499a9c3545d7ef2f2b4abc30e9351734a1e4c4a0 /include/armnn/Exceptions.hpp
parent233b3d685b4e4e931e86e021b77ee81d5b818f38 (diff)
downloadarmnn-3cc9a626773ae9e79d3d0bd9c120704676d44daa.tar.gz
IVGCVSW-1998 : replace Compute enum in LayerSupport free functions
!android-nn-driver:153490 Change-Id: I1c2a5f942e3a1c3626e093c90545ca27c64ba5e8
Diffstat (limited to 'include/armnn/Exceptions.hpp')
-rw-r--r--include/armnn/Exceptions.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/armnn/Exceptions.hpp b/include/armnn/Exceptions.hpp
index 89b6f2cfbb..29d874cd05 100644
--- a/include/armnn/Exceptions.hpp
+++ b/include/armnn/Exceptions.hpp
@@ -48,6 +48,16 @@ class Exception : public std::exception
public:
explicit Exception(const std::string& message);
+ // exception with context
+ explicit Exception(const std::string& message,
+ const CheckLocation& location);
+
+ // preserving previous exception context
+ // and adding local context information
+ explicit Exception(const Exception& other,
+ const std::string& message,
+ const CheckLocation& location);
+
virtual const char* what() const noexcept override;
private: