2023-02-04 01:20:27 +00:00
<!-- HTML header for doxygen -->
2021-09-17 00:09:25 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=11" / >
2023-02-04 01:20:27 +00:00
< meta name = "generator" content = "Doxygen 1.9.6" / >
2021-09-17 00:09:25 +00:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > OnnxRuntime: Ort::Exception Struct Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
2022-01-08 00:25:57 +00:00
< script async src = "https://www.googletagmanager.com/gtag/js?id=UA-156955408-1" > < / script > < script type = "text/javascript" > "use strict" ; window . dataLayer = window . dataLayer || [ ] ; function gtag ( ) { dataLayer . push ( arguments ) ; } gtag ( 'js' , new Date ( ) ) ; gtag ( 'config' , 'UA-156955408-1' ) ; < / script > < script type = "text/javascript" src = "/assets/js/vendor/lunr.min.js" > < / script > < script type = "text/javascript" src = "/assets/js/just-the-docs.js" > < / script >
2021-09-17 00:09:25 +00:00
< link href = "navtree.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "resize.js" > < / script >
< script type = "text/javascript" src = "navtreedata.js" > < / script >
< script type = "text/javascript" src = "navtree.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectlogo" > < img alt = "Logo" src = "ONNX_Runtime_logo - Docs.png" / > < / td >
< td id = "projectalign" style = "padding-left: 0.5em;" >
< div id = "projectname" > OnnxRuntime
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2023-02-04 01:20:27 +00:00
<!-- Generated by Doxygen 1.9.6 -->
2021-09-17 00:09:25 +00:00
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
2023-02-04 01:20:27 +00:00
var searchBox = new SearchBox("searchBox", "search/",'.html');
2021-09-17 00:09:25 +00:00
/* @license-end */
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
< / script >
< div id = "main-nav" > < / div >
< / div > <!-- top -->
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" > < / div >
< / div >
< / div >
< div id = "splitbar" style = "-moz-user-select:none;"
class="ui-resizable-handle">
< / div >
< / div >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
$(document).ready(function(){initNavTree('struct_ort_1_1_exception.html',''); initResizable(); });
/* @license-end */
< / script >
< div id = "doc-content" >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
2023-02-04 01:20:27 +00:00
< div id = "MSearchResults" >
< div class = "SRPage" >
< div id = "SRIndex" >
< div id = "SRResults" > < / div >
< div class = "SRStatus" id = "Loading" > Loading...< / div >
< div class = "SRStatus" id = "Searching" > Searching...< / div >
< div class = "SRStatus" id = "NoMatches" > No Matches< / div >
< / div >
< / div >
< / div >
2021-09-17 00:09:25 +00:00
< / div >
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "struct_ort_1_1_exception-members.html" > List of all members< / a > < / div >
< div class = "headertitle" > < div class = "title" > Ort::Exception Struct Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > All C++ methods that can fail will throw an exception of this type.
< a href = "struct_ort_1_1_exception.html#details" > More...< / a > < / p >
< p > < code > #include < < a class = "el" href = "onnxruntime__cxx__api_8h_source.html" > onnxruntime_cxx_api.h< / a > > < / code > < / p >
2023-02-04 01:20:27 +00:00
< div class = "dynheader" >
Inheritance diagram for Ort::Exception:< / div >
< div class = "dyncontent" >
< div class = "center" >
< img src = "struct_ort_1_1_exception.png" alt = "" / >
< / div > < / div >
2021-09-17 00:09:25 +00:00
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "pub-methods" name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
< tr class = "memitem:afed85f6b183b268ba316a06e00fe313c" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "struct_ort_1_1_exception.html#afed85f6b183b268ba316a06e00fe313c" > Exception< / a > (std::string & & string, < a class = "el" href = "group___global.html#gabab5349c294603a9eac437fdafd40a3d" > OrtErrorCode< / a > code)< / td > < / tr >
< tr class = "separator:afed85f6b183b268ba316a06e00fe313c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ae6f688af3ca6b3f34a2b8f730cc4432d" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group___global.html#gabab5349c294603a9eac437fdafd40a3d" > OrtErrorCode< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "struct_ort_1_1_exception.html#ae6f688af3ca6b3f34a2b8f730cc4432d" > GetOrtErrorCode< / a > () const< / td > < / tr >
< tr class = "separator:ae6f688af3ca6b3f34a2b8f730cc4432d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a03570d5990b5a35c818e6cca3e7b26e7" > < td class = "memItemLeft" align = "right" valign = "top" > const char *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "struct_ort_1_1_exception.html#a03570d5990b5a35c818e6cca3e7b26e7" > what< / a > () const noexcept override< / td > < / tr >
< tr class = "separator:a03570d5990b5a35c818e6cca3e7b26e7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
2023-02-04 01:20:27 +00:00
< div class = "textblock" > < p > All C++ methods that can fail will throw an exception of this type. < / p >
< p > If < code > ORT_NO_EXCEPTIONS< / code > is defined, then any error will result in a call to abort() < / p >
2021-09-17 00:09:25 +00:00
< / div > < h2 class = "groupheader" > Constructor & Destructor Documentation< / h2 >
< a id = "afed85f6b183b268ba316a06e00fe313c" name = "afed85f6b183b268ba316a06e00fe313c" > < / a >
2023-02-04 01:20:27 +00:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#afed85f6b183b268ba316a06e00fe313c" > ◆   < / a > < / span > Exception()< / h2 >
2021-09-17 00:09:25 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > Ort::Exception::Exception < / td >
< td > (< / td >
< td class = "paramtype" > std::string & &   < / td >
< td class = "paramname" > < em > string< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "group___global.html#gabab5349c294603a9eac437fdafd40a3d" > OrtErrorCode< / a >   < / td >
< td class = "paramname" > < em > code< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< h2 class = "groupheader" > Member Function Documentation< / h2 >
< a id = "ae6f688af3ca6b3f34a2b8f730cc4432d" name = "ae6f688af3ca6b3f34a2b8f730cc4432d" > < / a >
2023-02-04 01:20:27 +00:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ae6f688af3ca6b3f34a2b8f730cc4432d" > ◆   < / a > < / span > GetOrtErrorCode()< / h2 >
2021-09-17 00:09:25 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "group___global.html#gabab5349c294603a9eac437fdafd40a3d" > OrtErrorCode< / a > Ort::Exception::GetOrtErrorCode < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > const< / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< a id = "a03570d5990b5a35c818e6cca3e7b26e7" name = "a03570d5990b5a35c818e6cca3e7b26e7" > < / a >
2023-02-04 01:20:27 +00:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a03570d5990b5a35c818e6cca3e7b26e7" > ◆   < / a > < / span > what()< / h2 >
2021-09-17 00:09:25 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > const char * Ort::Exception::what < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > const< / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > override< / span > < span class = "mlabel" > noexcept< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< / div > <!-- contents -->
< / div > <!-- doc - content -->
<!-- start footer part -->
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< ul >
< li class = "navelem" > < a class = "el" href = "namespace_ort.html" > Ort< / a > < / li > < li class = "navelem" > < a class = "el" href = "struct_ort_1_1_exception.html" > Exception< / a > < / li >
2023-02-04 01:20:27 +00:00
< li class = "footer" > Generated by < a href = "https://www.doxygen.org/index.html" > < img class = "footer" src = "doxygen.svg" width = "104" height = "31" alt = "doxygen" / > < / a > 1.9.6 < / li >
2021-09-17 00:09:25 +00:00
< / ul >
< / div >
< / body >
< / html >