blob: 89a0c32b70fa0930572cbdd462d0318d5630c952 [file] [log] [blame]
Nikhil Raj8d2ca732023-02-24 10:28:19 +00001<!-- Copyright (c) 2020 ARM Limited. -->
2<!-- -->
3<!-- SPDX-License-Identifier: MIT -->
4<!-- -->
5<!-- HTML header for doxygen 1.8.13-->
6<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7<html xmlns="http://www.w3.org/1999/xhtml">
8<head>
9<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
10<meta http-equiv="X-UA-Compatible" content="IE=9"/>
David Monahanae050522023-03-22 16:48:58 +000011<meta name="generator" content="Doxygen 1.8.17"/>
Nikhil Raj8d2ca732023-02-24 10:28:19 +000012<meta name="robots" content="NOINDEX, NOFOLLOW" />
13<meta name="viewport" content="width=device-width, initial-scale=1"/>
14<title>ArmNN: include/armnn/Exceptions.hpp File Reference</title>
15<link href="tabs.css" rel="stylesheet" type="text/css"/>
16<script type="text/javascript" src="jquery.js"></script>
17<script type="text/javascript" src="dynsections.js"></script>
18<link href="navtree.css" rel="stylesheet" type="text/css"/>
19<script type="text/javascript" src="resize.js"></script>
20<script type="text/javascript" src="navtreedata.js"></script>
21<script type="text/javascript" src="navtree.js"></script>
Nikhil Raj8d2ca732023-02-24 10:28:19 +000022<link href="search/search.css" rel="stylesheet" type="text/css"/>
23<script type="text/javascript" src="search/searchdata.js"></script>
24<script type="text/javascript" src="search/search.js"></script>
25<script type="text/x-mathjax-config">
26 MathJax.Hub.Config({
27 extensions: ["tex2jax.js"],
28 jax: ["input/TeX","output/HTML-CSS"],
29});
David Monahanae050522023-03-22 16:48:58 +000030</script>
31<script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
Nikhil Raj8d2ca732023-02-24 10:28:19 +000032<link href="doxygen.css" rel="stylesheet" type="text/css" />
33<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
34</head>
35<body>
36<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
37<div id="titlearea">
38<table cellspacing="0" cellpadding="0">
39 <tbody>
40 <tr style="height: 56px;">
41 <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/>
42 <td style="padding-left: 0.5em;">
43 <div id="projectname">
44 &#160;<span id="projectnumber">23.02</span>
45 </div>
46 </td>
47 </tr>
48 </tbody>
49</table>
50</div>
51<!-- end header part -->
David Monahanae050522023-03-22 16:48:58 +000052<!-- Generated by Doxygen 1.8.17 -->
Nikhil Raj8d2ca732023-02-24 10:28:19 +000053<script type="text/javascript">
David Monahanae050522023-03-22 16:48:58 +000054/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
Nikhil Raj8d2ca732023-02-24 10:28:19 +000055var searchBox = new SearchBox("searchBox", "search",false,'Search');
David Monahanae050522023-03-22 16:48:58 +000056/* @license-end */
Nikhil Raj8d2ca732023-02-24 10:28:19 +000057</script>
58<script type="text/javascript" src="menudata.js"></script>
59<script type="text/javascript" src="menu.js"></script>
60<script type="text/javascript">
David Monahanae050522023-03-22 16:48:58 +000061/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
Nikhil Raj8d2ca732023-02-24 10:28:19 +000062$(function() {
63 initMenu('',true,false,'search.php','Search');
64 $(document).ready(function() { init_search(); });
65});
David Monahanae050522023-03-22 16:48:58 +000066/* @license-end */</script>
Nikhil Raj8d2ca732023-02-24 10:28:19 +000067<div id="main-nav"></div>
68</div><!-- top -->
69<div id="side-nav" class="ui-resizable side-nav-resizable">
70 <div id="nav-tree">
71 <div id="nav-tree-contents">
72 <div id="nav-sync" class="sync"></div>
73 </div>
74 </div>
75 <div id="splitbar" style="-moz-user-select:none;"
76 class="ui-resizable-handle">
77 </div>
78</div>
79<script type="text/javascript">
David Monahanae050522023-03-22 16:48:58 +000080/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
81$(document).ready(function(){initNavTree('_exceptions_8hpp.xhtml',''); initResizable(); });
82/* @license-end */
Nikhil Raj8d2ca732023-02-24 10:28:19 +000083</script>
84<div id="doc-content">
85<!-- window showing the filter options -->
86<div id="MSearchSelectWindow"
87 onmouseover="return searchBox.OnSearchSelectShow()"
88 onmouseout="return searchBox.OnSearchSelectHide()"
89 onkeydown="return searchBox.OnSearchSelectKey(event)">
90</div>
91
92<!-- iframe showing the search results (closed by default) -->
93<div id="MSearchResultsWindow">
94<iframe src="javascript:void(0)" frameborder="0"
95 name="MSearchResults" id="MSearchResults">
96</iframe>
97</div>
98
99<div class="header">
100 <div class="summary">
101<a href="#nested-classes">Classes</a> &#124;
102<a href="#namespaces">Namespaces</a> &#124;
103<a href="#define-members">Macros</a> &#124;
104<a href="#func-members">Functions</a> </div>
105 <div class="headertitle">
106<div class="title">Exceptions.hpp File Reference</div> </div>
107</div><!--header-->
108<div class="contents">
109<div class="textblock"><code>#include &lt;sstream&gt;</code><br />
110<code>#include &lt;stdexcept&gt;</code><br />
111<code>#include &lt;string&gt;</code><br />
112</div>
113<p><a href="_exceptions_8hpp_source.xhtml">Go to the source code of this file.</a></p>
114<table class="memberdecls">
115<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
116Classes</h2></td></tr>
117<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_check_location.xhtml">CheckLocation</a></td></tr>
118<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
119<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_exception.xhtml">Exception</a></td></tr>
120<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Base class for all ArmNN exceptions so that users can filter to just those. <a href="classarmnn_1_1_exception.xhtml#details">More...</a><br /></td></tr>
121<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
122<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_backend_unavailable_exception.xhtml">BackendUnavailableException</a></td></tr>
123<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class for non-fatal exceptions raised while initialising a backend. <a href="classarmnn_1_1_backend_unavailable_exception.xhtml#details">More...</a><br /></td></tr>
124<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
125<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_cl_runtime_unavailable_exception.xhtml">ClRuntimeUnavailableException</a></td></tr>
126<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
127<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_invalid_argument_exception.xhtml">InvalidArgumentException</a></td></tr>
128<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
129<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_file_not_found_exception.xhtml">FileNotFoundException</a></td></tr>
130<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
131<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_parse_exception.xhtml">ParseException</a></td></tr>
132<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
133<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_unimplemented_exception.xhtml">UnimplementedException</a></td></tr>
134<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
135<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_validation_exception.xhtml">LayerValidationException</a></td></tr>
136<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
137<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_graph_validation_exception.xhtml">GraphValidationException</a></td></tr>
138<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
139<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_bad_optional_access_exception.xhtml">BadOptionalAccessException</a></td></tr>
140<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
141<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_runtime_exception.xhtml">RuntimeException</a></td></tr>
142<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
143<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_memory_import_exception.xhtml">MemoryImportException</a></td></tr>
144<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
145<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_memory_export_exception.xhtml">MemoryExportException</a></td></tr>
146<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
147<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_timeout_exception.xhtml">TimeoutException</a></td></tr>
148<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
149<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_polymorphic_downcast_exception.xhtml">PolymorphicDowncastException</a></td></tr>
150<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
151<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_null_pointer_exception.xhtml">NullPointerException</a></td></tr>
152<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
153<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_backend_capability_exception.xhtml">BackendCapabilityException</a></td></tr>
154<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
155<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_memory_validation_exception.xhtml">MemoryValidationException</a></td></tr>
156<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
157</table><table class="memberdecls">
158<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
159Namespaces</h2></td></tr>
160<tr class="memitem:namespacearmnn"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.xhtml">armnn</a></td></tr>
161<tr class="memdesc:namespacearmnn"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copyright (c) 2021 ARM Limited and Contributors. <br /></td></tr>
162<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
163</table><table class="memberdecls">
164<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
165Macros</h2></td></tr>
166<tr class="memitem:aa3be76aec4ce713822a5ea1ecbb7bc61"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_exceptions_8hpp.xhtml#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a>()&#160;&#160;&#160;<a class="el" href="structarmnn_1_1_check_location.xhtml">armnn::CheckLocation</a>(__func__, __FILE__, __LINE__)</td></tr>
167<tr class="separator:aa3be76aec4ce713822a5ea1ecbb7bc61"><td class="memSeparator" colspan="2">&#160;</td></tr>
168</table><table class="memberdecls">
169<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
170Functions</h2></td></tr>
171<tr class="memitem:ae4ab3bf0697ad13316a6bcba0a8fade5"><td class="memTemplParams" colspan="2">template&lt;typename ExceptionType &gt; </td></tr>
172<tr class="memitem:ae4ab3bf0697ad13316a6bcba0a8fade5"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearmnn.xhtml#ae4ab3bf0697ad13316a6bcba0a8fade5">ConditionalThrow</a> (bool condition, const std::string &amp;message)</td></tr>
173<tr class="separator:ae4ab3bf0697ad13316a6bcba0a8fade5"><td class="memSeparator" colspan="2">&#160;</td></tr>
174<tr class="memitem:a6ed414c05eb6d4c89e0e4a475a0479c0"><td class="memTemplParams" colspan="2">template&lt;typename ExceptionType &gt; </td></tr>
175<tr class="memitem:a6ed414c05eb6d4c89e0e4a475a0479c0"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearmnn.xhtml#a6ed414c05eb6d4c89e0e4a475a0479c0">ConditionalThrow</a> (bool condition)</td></tr>
176<tr class="separator:a6ed414c05eb6d4c89e0e4a475a0479c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
177<tr class="memitem:ae57b7f9e2cb7080bf10b28d1f72b558e"><td class="memTemplParams" colspan="2">template&lt;typename ExceptionType , typename ComparedType &gt; </td></tr>
178<tr class="memitem:ae57b7f9e2cb7080bf10b28d1f72b558e"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearmnn.xhtml#ae57b7f9e2cb7080bf10b28d1f72b558e">ConditionalThrowIfNotEqual</a> (const std::string &amp;message, const ComparedType &amp;leftHandSide, const ComparedType &amp;rightHandSide)</td></tr>
179<tr class="memdesc:ae57b7f9e2cb7080bf10b28d1f72b558e"><td class="mdescLeft">&#160;</td><td class="mdescRight">ComparedType must support: operator==(const ComparedType&amp;) operator&lt;&lt;(ostream&amp;, const ComparedType&amp;) <a href="namespacearmnn.xhtml#ae57b7f9e2cb7080bf10b28d1f72b558e">More...</a><br /></td></tr>
180<tr class="separator:ae57b7f9e2cb7080bf10b28d1f72b558e"><td class="memSeparator" colspan="2">&#160;</td></tr>
181</table>
182<h2 class="groupheader">Macro Definition Documentation</h2>
183<a id="aa3be76aec4ce713822a5ea1ecbb7bc61"></a>
184<h2 class="memtitle"><span class="permalink"><a href="#aa3be76aec4ce713822a5ea1ecbb7bc61">&#9670;&nbsp;</a></span>CHECK_LOCATION</h2>
185
186<div class="memitem">
187<div class="memproto">
188 <table class="memname">
189 <tr>
190 <td class="memname">#define CHECK_LOCATION</td>
191 <td>(</td>
192 <td class="paramname"></td><td>)</td>
193 <td>&#160;&#160;&#160;<a class="el" href="structarmnn_1_1_check_location.xhtml">armnn::CheckLocation</a>(__func__, __FILE__, __LINE__)</td>
194 </tr>
195 </table>
196</div><div class="memdoc">
197
198<p class="definition">Definition at line <a class="el" href="_exceptions_8hpp_source.xhtml#l00203">203</a> of file <a class="el" href="_exceptions_8hpp_source.xhtml">Exceptions.hpp</a>.</p>
199
Nikhil Raj8d2ca732023-02-24 10:28:19 +0000200</div>
201</div>
202</div><!-- contents -->
203</div><!-- doc-content -->
204<!-- start footer part -->
205<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
206 <ul>
207 <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.xhtml">include</a></li><li class="navelem"><a class="el" href="dir_2b72cc348e06937955e62ebdd8a13436.xhtml">armnn</a></li><li class="navelem"><a class="el" href="_exceptions_8hpp.xhtml">Exceptions.hpp</a></li>
David Monahanae050522023-03-22 16:48:58 +0000208 <li class="footer">Generated on Wed Mar 22 2023 15:53:02 for ArmNN by
Nikhil Raj8d2ca732023-02-24 10:28:19 +0000209 <a href="http://www.doxygen.org/index.html">
David Monahanae050522023-03-22 16:48:58 +0000210 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
Nikhil Raj8d2ca732023-02-24 10:28:19 +0000211 </ul>
212</div>
213</body>
214</html>