From a983e4699082a0b1ef685bab7354f2ad9cd37a44 Mon Sep 17 00:00:00 2001 From: Colm Donelan Date: Wed, 20 May 2020 16:12:19 +0100 Subject: Updating Doxygen documentation for 20.05 release. Change-Id: I4d624343ed5fd6ae269c3d53532903084508fd14 Signed-off-by: Colm Donelan --- 20.05/_exceptions_8cpp_source.xhtml | 120 ++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 20.05/_exceptions_8cpp_source.xhtml (limited to '20.05/_exceptions_8cpp_source.xhtml') diff --git a/20.05/_exceptions_8cpp_source.xhtml b/20.05/_exceptions_8cpp_source.xhtml new file mode 100644 index 0000000000..c48606ced2 --- /dev/null +++ b/20.05/_exceptions_8cpp_source.xhtml @@ -0,0 +1,120 @@ + + + + + + + + + + + + + +ArmNN: src/armnn/Exceptions.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.05 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Exceptions.cpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 #include <armnn/Exceptions.hpp>
6 
7 #include <string>
8 
9 namespace armnn
10 {
11 
12 Exception::Exception(const std::string& message)
13 : m_Message{message}
14 {
15 }
16 
17 Exception::Exception(const std::string& message,
18  const CheckLocation& location)
19 : m_Message{message}
20 {
21  m_Message += location.AsString();
22 }
23 
25  const std::string& message,
26  const CheckLocation& location)
27 : m_Message{other.m_Message}
28 {
29  m_Message += "\n" + message + location.AsString();
30 }
31 
32 const char* Exception::what() const noexcept
33 {
34  return m_Message.c_str();
35 }
36 
38 : Exception("Function not yet implemented")
39 {
40 }
41 
42 }
Exception(const std::string &message)
Definition: Exceptions.cpp:12
+
virtual const char * what() const noexcept override
Definition: Exceptions.cpp:32
+
Copyright (c) 2020 ARM Limited.
+ + +
Base class for all ArmNN exceptions so that users can filter to just those.
Definition: Exceptions.hpp:46
+ +
+
+ + + + -- cgit v1.2.1