<!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=9"/> <meta name="generator" content="Doxygen 1.8.15"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>libzypp: zypp/base/Exception.h File 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> <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> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</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="projectalign" style="padding-left: 0.5em;"> <div id="projectname">libzypp  <span id="projectnumber">17.9.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.15 --> <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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',false,false,'search.php','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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('Exception_8h.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#namespaces">Namespaces</a> | <a href="#define-members">Macros</a> | <a href="#typedef-members">Typedefs</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">Exception.h File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <iosfwd></code><br /> <code>#include <string></code><br /> <code>#include <list></code><br /> <code>#include <stdexcept></code><br /> <code>#include <typeinfo></code><br /> <code>#include <type_traits></code><br /> <code>#include "<a class="el" href="Errno_8h_source.html">zypp/base/Errno.h</a>"</code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for Exception.h:</div> <div class="dyncontent"> <div class="center"><img src="Exception_8h__incl.png" border="0" usemap="#zypp_2base_2Exception_8h" alt=""/></div> <map name="zypp_2base_2Exception_8h" id="zypp_2base_2Exception_8h"> <area shape="rect" title=" " alt="" coords="996,5,1155,32"/> <area shape="rect" title=" " alt="" coords="1333,319,1396,345"/> <area shape="rect" title=" " alt="" coords="5,319,63,345"/> <area shape="rect" title=" " alt="" coords="971,80,1011,107"/> <area shape="rect" title=" " alt="" coords="1035,80,1115,107"/> <area shape="rect" title=" " alt="" coords="1139,80,1211,107"/> <area shape="rect" title=" " alt="" coords="1236,80,1323,107"/> <area shape="rect" href="Errno_8h.html" title=" " alt="" coords="812,80,947,107"/> <area shape="rect" title=" " alt="" coords="725,155,786,181"/> <area shape="rect" href="String_8h.html" title=" " alt="" coords="811,155,948,181"/> <area shape="rect" title=" " alt="" coords="1131,237,1193,263"/> <area shape="rect" title=" " alt="" coords="1218,237,1277,263"/> <area shape="rect" title=" " alt="" coords="216,237,287,263"/> <area shape="rect" title=" " alt="" coords="311,237,443,263"/> <area shape="rect" title=" " alt="" coords="467,229,601,271"/> <area shape="rect" href="Easy_8h.html" title=" " alt="" coords="980,237,1107,263"/> <area shape="rect" href="PtrTypes_8h.html" title=" " alt="" coords="625,237,779,263"/> <area shape="rect" href="Function_8h.html" title=" " alt="" coords="803,237,956,263"/> <area shape="rect" title=" " alt="" coords="1250,319,1309,345"/> <area shape="rect" title=" " alt="" coords="87,319,245,345"/> <area shape="rect" title=" " alt="" coords="270,319,427,345"/> <area shape="rect" title=" " alt="" coords="451,319,598,345"/> <area shape="rect" title=" " alt="" coords="623,319,789,345"/> <area shape="rect" title=" " alt="" coords="813,319,953,345"/> <area shape="rect" title=" " alt="" coords="978,319,1095,345"/> <area shape="rect" title=" " alt="" coords="1119,319,1226,345"/> </map> </div> </div><div class="textblock"><div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dyncontent"> <div class="center"><img src="Exception_8h__dep__incl.png" border="0" usemap="#zypp_2base_2Exception_8hdep" alt=""/></div> <map name="zypp_2base_2Exception_8hdep" id="zypp_2base_2Exception_8hdep"> <area shape="rect" title=" " alt="" coords="3331,5,3490,32"/> <area shape="rect" href="Arch_8cc.html" title=" " alt="" coords="5,87,104,114"/> <area shape="rect" href="Exception_8cc.html" title=" " alt="" coords="128,87,291,114"/> <area shape="rect" href="Fd_8cc.html" title=" " alt="" coords="315,87,435,114"/> <area shape="rect" href="InterProcessMutex_8h.html" title=" " alt="" coords="459,87,671,114"/> <area shape="rect" href="ReferenceCounted_8cc.html" title=" " alt="" coords="695,87,913,114"/> <area shape="rect" href="Regex_8h.html" title=" " alt="" coords="989,87,1126,114"/> <area shape="rect" href="Capability_8cc.html" title=" " alt="" coords="743,177,873,203"/> <area shape="rect" href="CheckAccessDeleted_8cc.html" title=" " alt="" coords="949,177,1177,203"/> <area shape="rect" href="PublicKey_8cc.html" title=" " alt="" coords="1701,266,1829,293"/> <area shape="rect" href="StrMatcher_8h.html" title=" " alt="" coords="1252,87,1420,114"/> <area shape="rect" href="UserRequestException_8h.html" title=" " alt="" coords="1545,87,1780,114"/> <area shape="rect" href="ParseException_8h.html" title=" " alt="" coords="1252,177,1455,203"/> <area shape="rect" href="RepoException_8h.html" title=" " alt="" coords="1479,177,1670,203"/> <area shape="rect" href="TargetImpl_8cc.html" title=" " alt="" coords="1933,177,2115,203"/> <area shape="rect" href="TargetImpl_8commitFindFileConflicts_8cc.html" title=" " alt="" coords="1694,169,1909,211"/> <area shape="rect" href="CheckSum_8h.html" title=" " alt="" coords="2076,87,2207,114"/> <area shape="rect" href="FileChecker_8h.html" title=" " alt="" coords="2139,177,2277,203"/> <area shape="rect" href="Date_8h.html" title=" " alt="" coords="2281,87,2377,114"/> <area shape="rect" href="PublicKey_8h.html" title=" " alt="" coords="2353,177,2477,203"/> <area shape="rect" href="Dep_8cc.html" title=" " alt="" coords="2401,87,2497,114"/> <area shape="rect" href="MediaException_8h.html" title=" " alt="" coords="2521,87,2727,114"/> <area shape="rect" href="MetaLinkParser_8h.html" title=" " alt="" coords="2751,87,2953,114"/> <area shape="rect" href="ZsyncParser_8h.html" title=" " alt="" coords="2978,87,3161,114"/> <area shape="rect" href="ProductFileReader_8cc.html" title=" " alt="" coords="3185,87,3412,114"/> <area shape="rect" href="Node_8cc.html" title=" " alt="" coords="3437,87,3611,114"/> <area shape="rect" href="ParseDefException_8h.html" title=" " alt="" coords="3635,80,3815,121"/> <area shape="rect" href="Reader_8cc.html" title=" " alt="" coords="3840,87,4024,114"/> <area shape="rect" href="PluginFrameException_8h.html" title=" " alt="" coords="4048,87,4251,114"/> <area shape="rect" href="PluginScriptException_8h.html" title=" " alt="" coords="4275,87,4474,114"/> <area shape="rect" href="PoolQueryResult_8h.html" title=" " alt="" coords="4498,87,4667,114"/> <area shape="rect" href="Rel_8cc.html" title=" " alt="" coords="4692,87,4783,114"/> <area shape="rect" href="ResourceType_8cc.html" title=" " alt="" coords="4807,87,5025,114"/> <area shape="rect" href="Repository_8cc.html" title=" " alt="" coords="5049,87,5185,114"/> <area shape="rect" href="sat_2detail_2PoolImpl_8cc.html" title=" " alt="" coords="5209,87,5399,114"/> <area shape="rect" href="Pool_8cc.html" title=" " alt="" coords="5423,87,5545,114"/> <area shape="rect" href="Solvable_8cc.html" title=" " alt="" coords="5569,87,5716,114"/> <area shape="rect" href="CommitPackageCache_8cc.html" title=" " alt="" coords="5842,259,6038,300"/> <area shape="rect" href="CommitPackageCacheImpl_8h.html" title=" " alt="" coords="5842,80,6038,121"/> <area shape="rect" href="CommitPackageCacheReadAhead_8h.html" title=" " alt="" coords="5978,169,6174,211"/> <area shape="rect" href="CommitPackageCacheReadAhead_8cc.html" title=" " alt="" coords="6861,259,7057,300"/> <area shape="rect" href="HalException_8h.html" title="Hardware abstaction layer library wrapper." alt="" coords="6113,87,6327,114"/> <area shape="rect" href="RpmCallbacks_8h.html" title=" " alt="" coords="6351,87,6577,114"/> <area shape="rect" href="RpmException_8h.html" title=" " alt="" coords="6601,87,6828,114"/> <area shape="rect" href="RpmHeader_8cc.html" title=" " alt="" coords="6852,87,7068,114"/> <area shape="rect" href="TargetException_8h.html" title=" " alt="" coords="7092,87,7300,114"/> <area shape="rect" href="MutexException_8h.html" title=" " alt="" coords="7324,87,7532,114"/> <area shape="rect" href="UrlException_8h.html" title=" " alt="" coords="7556,87,7721,114"/> <area shape="rect" href="ZYppFactory_8h.html" title=" " alt="" coords="1906,87,2051,114"/> <area shape="rect" href="InterProcessMutex_8cc.html" title=" " alt="" coords="457,177,673,203"/> </map> </div> </div> <p><a href="Exception_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> Classes</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1exception__detail_1_1CodeLocation.html">zypp::exception_detail::CodeLocation</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Keep <em>FILE</em>, <em>FUNCTION</em> and <em>LINE</em>. <a href="structzypp_1_1exception__detail_1_1CodeLocation.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Exception.html">zypp::Exception</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Base class for <a class="el" href="classzypp_1_1Exception.html" title="Base class for Exception.">Exception</a>. <a href="classzypp_1_1Exception.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> Namespaces</h2></td></tr> <tr class="memitem:namespacezypp"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacezypp.html">zypp</a></td></tr> <tr class="memdesc:namespacezypp"><td class="mdescLeft"> </td><td class="mdescRight">Easy-to use interface to the ZYPP dependency resolver. <br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:namespacezypp_1_1exception__detail"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacezypp_1_1exception__detail.html">zypp::exception_detail</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> Macros</h2></td></tr> <tr class="memitem:a3de26a04b4a7cfe43403e7d773ef6a4b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="Exception_8h.html#a3de26a04b4a7cfe43403e7d773ef6a4b">ZYPP_EX_CODELOCATION</a>   ::<a class="el" href="structzypp_1_1exception__detail_1_1CodeLocation.html">zypp::exception_detail::CodeLocation</a>(( *__FILE__ == '/' ? strrchr( __FILE__, '/' ) + 1 : __FILE__ ),__FUNCTION__,__LINE__)</td></tr> <tr class="memdesc:a3de26a04b4a7cfe43403e7d773ef6a4b"><td class="mdescLeft"> </td><td class="mdescRight">Create CodeLocation object storing the current location. <a href="#a3de26a04b4a7cfe43403e7d773ef6a4b">More...</a><br /></td></tr> <tr class="separator:a3de26a04b4a7cfe43403e7d773ef6a4b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:gaf8c3a87d63dd4f26f059eddd62c22864"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW</a>(EXCPT)   ::<a class="el" href="namespacezypp_1_1exception__detail.html#aea584d30f9864cc65be16501acbbb492">zypp::exception_detail::do_ZYPP_THROW</a>( EXCPT, <a class="el" href="Exception_8h.html#a3de26a04b4a7cfe43403e7d773ef6a4b">ZYPP_EX_CODELOCATION</a> )</td></tr> <tr class="memdesc:gaf8c3a87d63dd4f26f059eddd62c22864"><td class="mdescLeft"> </td><td class="mdescRight">Drops a logline and throws the Exception. <a href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">More...</a><br /></td></tr> <tr class="separator:gaf8c3a87d63dd4f26f059eddd62c22864"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga0a6d828c3e5802c5ca1ab6f5a86e9fc1"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ZYPP__THROW.html#ga0a6d828c3e5802c5ca1ab6f5a86e9fc1">ZYPP_CAUGHT</a>(EXCPT)   ::<a class="el" href="namespacezypp_1_1exception__detail.html#a34414abcef67c9491c9454fa5feedb45">zypp::exception_detail::do_ZYPP_CAUGHT</a>( EXCPT, <a class="el" href="Exception_8h.html#a3de26a04b4a7cfe43403e7d773ef6a4b">ZYPP_EX_CODELOCATION</a> )</td></tr> <tr class="memdesc:ga0a6d828c3e5802c5ca1ab6f5a86e9fc1"><td class="mdescLeft"> </td><td class="mdescRight">Drops a logline telling the Exception was caught (in order to handle it). <a href="group__ZYPP__THROW.html#ga0a6d828c3e5802c5ca1ab6f5a86e9fc1">More...</a><br /></td></tr> <tr class="separator:ga0a6d828c3e5802c5ca1ab6f5a86e9fc1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga08d9b1a11fa29455c0419afa1d186887"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ZYPP__THROW.html#ga08d9b1a11fa29455c0419afa1d186887">ZYPP_RETHROW</a>(EXCPT)   ::<a class="el" href="namespacezypp_1_1exception__detail.html#a0110ed6a18676922f8d7ef452dc8792c">zypp::exception_detail::do_ZYPP_RETHROW</a>( EXCPT, <a class="el" href="Exception_8h.html#a3de26a04b4a7cfe43403e7d773ef6a4b">ZYPP_EX_CODELOCATION</a> )</td></tr> <tr class="memdesc:ga08d9b1a11fa29455c0419afa1d186887"><td class="mdescLeft"> </td><td class="mdescRight">Drops a logline and rethrows, updating the CodeLocation. <a href="group__ZYPP__THROW.html#ga08d9b1a11fa29455c0419afa1d186887">More...</a><br /></td></tr> <tr class="separator:ga08d9b1a11fa29455c0419afa1d186887"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga4ea97b870a64170586dedde1cbc07319"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ZYPP__THROW.html#ga4ea97b870a64170586dedde1cbc07319">ZYPP_THROW_MSG</a>(EXCPTTYPE, MSG)   <a class="el" href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW</a>( EXCPTTYPE( MSG ) )</td></tr> <tr class="memdesc:ga4ea97b870a64170586dedde1cbc07319"><td class="mdescLeft"> </td><td class="mdescRight">Throw Exception built from a message string. <a href="group__ZYPP__THROW.html#ga4ea97b870a64170586dedde1cbc07319">More...</a><br /></td></tr> <tr class="separator:ga4ea97b870a64170586dedde1cbc07319"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga447e5a6c74fe23871b4a3fdf7bbb651e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ZYPP__THROW.html#ga447e5a6c74fe23871b4a3fdf7bbb651e">ZYPP_THROW_ERRNO</a>(EXCPTTYPE)   <a class="el" href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW</a>( EXCPTTYPE( ::<a class="el" href="classzypp_1_1Exception.html#a2cf3935eaec01b862d58be69ad2a8b42">zypp::Exception::strErrno</a>(errno) ) )</td></tr> <tr class="memdesc:ga447e5a6c74fe23871b4a3fdf7bbb651e"><td class="mdescLeft"> </td><td class="mdescRight">Throw Exception built from errno. <a href="group__ZYPP__THROW.html#ga447e5a6c74fe23871b4a3fdf7bbb651e">More...</a><br /></td></tr> <tr class="separator:ga447e5a6c74fe23871b4a3fdf7bbb651e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:gae36ccdcc7e2f47609c657c5400d63a8e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ZYPP__THROW.html#gae36ccdcc7e2f47609c657c5400d63a8e">ZYPP_THROW_ERRNO1</a>(EXCPTTYPE, ERRNO)   <a class="el" href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW</a>( EXCPTTYPE( ::<a class="el" href="classzypp_1_1Exception.html#a2cf3935eaec01b862d58be69ad2a8b42">zypp::Exception::strErrno</a>(ERRNO) ) )</td></tr> <tr class="memdesc:gae36ccdcc7e2f47609c657c5400d63a8e"><td class="mdescLeft"> </td><td class="mdescRight">Throw Exception built from errno provided as argument. <a href="group__ZYPP__THROW.html#gae36ccdcc7e2f47609c657c5400d63a8e">More...</a><br /></td></tr> <tr class="separator:gae36ccdcc7e2f47609c657c5400d63a8e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga72ebdbf11a006abc6b004f0af7c37510"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ZYPP__THROW.html#ga72ebdbf11a006abc6b004f0af7c37510">ZYPP_THROW_ERRNO_MSG</a>(EXCPTTYPE, MSG)   <a class="el" href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW</a>( EXCPTTYPE( ::<a class="el" href="classzypp_1_1Exception.html#a2cf3935eaec01b862d58be69ad2a8b42">zypp::Exception::strErrno</a>(errno,MSG) ) )</td></tr> <tr class="memdesc:ga72ebdbf11a006abc6b004f0af7c37510"><td class="mdescLeft"> </td><td class="mdescRight">Throw Exception built from errno and a message string. <a href="group__ZYPP__THROW.html#ga72ebdbf11a006abc6b004f0af7c37510">More...</a><br /></td></tr> <tr class="separator:ga72ebdbf11a006abc6b004f0af7c37510"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:gad170cd222688da57f2e8a4a9b0bbe842"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ZYPP__THROW.html#gad170cd222688da57f2e8a4a9b0bbe842">ZYPP_THROW_ERRNO_MSG1</a>(EXCPTTYPE, ERRNO, MSG)   <a class="el" href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW</a>( EXCPTTYPE( ::<a class="el" href="classzypp_1_1Exception.html#a2cf3935eaec01b862d58be69ad2a8b42">zypp::Exception::strErrno</a>(ERRNO,MSG) ) )</td></tr> <tr class="memdesc:gad170cd222688da57f2e8a4a9b0bbe842"><td class="mdescLeft"> </td><td class="mdescRight">Throw Exception built from errno provided as argument and a message string. <a href="group__ZYPP__THROW.html#gad170cd222688da57f2e8a4a9b0bbe842">More...</a><br /></td></tr> <tr class="separator:gad170cd222688da57f2e8a4a9b0bbe842"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> Typedefs</h2></td></tr> <tr class="memitem:ae59bddae348c8786c611ec4483c80fe4"><td class="memTemplParams" colspan="2">template<class TExcpt > </td></tr> <tr class="memitem:ae59bddae348c8786c611ec4483c80fe4"><td class="memTemplItemLeft" align="right" valign="top">using </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacezypp_1_1exception__detail.html#ae59bddae348c8786c611ec4483c80fe4">zypp::exception_detail::EnableIfIsException</a> = typename std::enable_if< std::is_base_of< Exception, TExcpt >::value, int >::type</td></tr> <tr class="memdesc:ae59bddae348c8786c611ec4483c80fe4"><td class="mdescLeft"> </td><td class="mdescRight">SFINAE: Hide template signature unless <em>TExcpt</em> is derived from <a class="el" href="classzypp_1_1Exception.html">Exception</a>. <a href="namespacezypp_1_1exception__detail.html#ae59bddae348c8786c611ec4483c80fe4">More...</a><br /></td></tr> <tr class="separator:ae59bddae348c8786c611ec4483c80fe4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a04dffbee77240134d9211e18424a4967"><td class="memTemplParams" colspan="2">template<class TExcpt > </td></tr> <tr class="memitem:a04dffbee77240134d9211e18424a4967"><td class="memTemplItemLeft" align="right" valign="top">using </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacezypp_1_1exception__detail.html#a04dffbee77240134d9211e18424a4967">zypp::exception_detail::EnableIfNotException</a> = typename std::enable_if< !std::is_base_of< Exception, TExcpt >::value, int >::type</td></tr> <tr class="memdesc:a04dffbee77240134d9211e18424a4967"><td class="mdescLeft"> </td><td class="mdescRight">SFINAE: Hide template signature if <em>TExcpt</em> is derived from <a class="el" href="classzypp_1_1Exception.html">Exception</a>. <a href="namespacezypp_1_1exception__detail.html#a04dffbee77240134d9211e18424a4967">More...</a><br /></td></tr> <tr class="separator:a04dffbee77240134d9211e18424a4967"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:aea584d30f9864cc65be16501acbbb492"><td class="memTemplParams" colspan="2">template<class TExcpt , EnableIfIsException< TExcpt > = 0> </td></tr> <tr class="memitem:aea584d30f9864cc65be16501acbbb492"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacezypp_1_1exception__detail.html#aea584d30f9864cc65be16501acbbb492">zypp::exception_detail::do_ZYPP_THROW</a> (const TExcpt &excpt_r, const CodeLocation &where_r) __attribute__((noreturn))</td></tr> <tr class="memdesc:aea584d30f9864cc65be16501acbbb492"><td class="mdescLeft"> </td><td class="mdescRight">Helper for <a class="el" href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW( Exception )</a>. <a href="namespacezypp_1_1exception__detail.html#aea584d30f9864cc65be16501acbbb492">More...</a><br /></td></tr> <tr class="separator:aea584d30f9864cc65be16501acbbb492"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a34414abcef67c9491c9454fa5feedb45"><td class="memTemplParams" colspan="2">template<class TExcpt , EnableIfIsException< TExcpt > = 0> </td></tr> <tr class="memitem:a34414abcef67c9491c9454fa5feedb45"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacezypp_1_1exception__detail.html#a34414abcef67c9491c9454fa5feedb45">zypp::exception_detail::do_ZYPP_CAUGHT</a> (const TExcpt &excpt_r, const CodeLocation &where_r)</td></tr> <tr class="memdesc:a34414abcef67c9491c9454fa5feedb45"><td class="mdescLeft"> </td><td class="mdescRight">Helper for <a class="el" href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW( Exception )</a>. <a href="namespacezypp_1_1exception__detail.html#a34414abcef67c9491c9454fa5feedb45">More...</a><br /></td></tr> <tr class="separator:a34414abcef67c9491c9454fa5feedb45"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0110ed6a18676922f8d7ef452dc8792c"><td class="memTemplParams" colspan="2">template<class TExcpt , EnableIfIsException< TExcpt > = 0> </td></tr> <tr class="memitem:a0110ed6a18676922f8d7ef452dc8792c"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacezypp_1_1exception__detail.html#a0110ed6a18676922f8d7ef452dc8792c">zypp::exception_detail::do_ZYPP_RETHROW</a> (const TExcpt &excpt_r, const CodeLocation &where_r) __attribute__((noreturn))</td></tr> <tr class="memdesc:a0110ed6a18676922f8d7ef452dc8792c"><td class="mdescLeft"> </td><td class="mdescRight">Helper for <a class="el" href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW( Exception )</a>. <a href="namespacezypp_1_1exception__detail.html#a0110ed6a18676922f8d7ef452dc8792c">More...</a><br /></td></tr> <tr class="separator:a0110ed6a18676922f8d7ef452dc8792c"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Macro Definition Documentation</h2> <a id="a3de26a04b4a7cfe43403e7d773ef6a4b"></a> <h2 class="memtitle"><span class="permalink"><a href="#a3de26a04b4a7cfe43403e7d773ef6a4b">◆ </a></span>ZYPP_EX_CODELOCATION</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define ZYPP_EX_CODELOCATION   ::<a class="el" href="structzypp_1_1exception__detail_1_1CodeLocation.html">zypp::exception_detail::CodeLocation</a>(( *__FILE__ == '/' ? strrchr( __FILE__, '/' ) + 1 : __FILE__ ),__FUNCTION__,__LINE__)</td> </tr> </table> </div><div class="memdoc"> <p>Create CodeLocation object storing the current location. </p> <p class="definition">Definition at line <a class="el" href="Exception_8h_source.html#l00062">62</a> of file <a class="el" href="Exception_8h_source.html">Exception.h</a>.</p> </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="dir_c187b43c6f283d9fc95eff3f44ce072a.html">zypp</a></li><li class="navelem"><a class="el" href="dir_76651d3a0256a4372f696a008d71ee69.html">base</a></li><li class="navelem"><a class="el" href="Exception_8h.html">Exception.h</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li> </ul> </div> </body> </html>