<!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/PluginScriptException.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('PluginScriptException_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="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">PluginScriptException.h File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <iosfwd></code><br /> <code>#include "<a class="el" href="Exception_8h_source.html">zypp/base/Exception.h</a>"</code><br /> <code>#include "<a class="el" href="Pathname_8h_source.html">zypp/Pathname.h</a>"</code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for PluginScriptException.h:</div> <div class="dyncontent"> <div class="center"><img src="PluginScriptException_8h__incl.png" border="0" usemap="#zypp_2PluginScriptException_8h" alt=""/></div> <map name="zypp_2PluginScriptException_8h" id="zypp_2PluginScriptException_8h"> <area shape="rect" title=" " alt="" coords="161,5,359,32"/> <area shape="rect" title=" " alt="" coords="101,393,163,420"/> <area shape="rect" href="Exception_8h.html" title=" " alt="" coords="445,80,603,107"/> <area shape="rect" href="Pathname_8h.html" title=" " alt="" coords="195,311,325,338"/> <area shape="rect" title=" " alt="" coords="282,393,339,420"/> <area shape="rect" title=" " alt="" coords="560,155,600,181"/> <area shape="rect" title=" " alt="" coords="624,155,704,181"/> <area shape="rect" title=" " alt="" coords="728,155,800,181"/> <area shape="rect" title=" " alt="" coords="825,155,911,181"/> <area shape="rect" href="Errno_8h.html" title=" " alt="" coords="401,155,535,181"/> <area shape="rect" title=" " alt="" coords="796,229,857,256"/> <area shape="rect" href="String_8h.html" title=" " alt="" coords="634,229,771,256"/> <area shape="rect" title=" " alt="" coords="629,311,691,338"/> <area shape="rect" title=" " alt="" coords="716,311,775,338"/> <area shape="rect" title=" " alt="" coords="799,311,870,338"/> <area shape="rect" title=" " alt="" coords="894,311,1026,338"/> <area shape="rect" title=" " alt="" coords="1050,304,1185,345"/> <area shape="rect" href="Easy_8h.html" title=" " alt="" coords="1209,311,1335,338"/> <area shape="rect" href="PtrTypes_8h.html" title=" " alt="" coords="451,311,605,338"/> <area shape="rect" href="Function_8h.html" title=" " alt="" coords="1415,311,1569,338"/> <area shape="rect" title=" " alt="" coords="1213,393,1272,420"/> <area shape="rect" title=" " alt="" coords="363,393,522,420"/> <area shape="rect" title=" " alt="" coords="547,393,704,420"/> <area shape="rect" title=" " alt="" coords="728,393,875,420"/> <area shape="rect" title=" " alt="" coords="899,393,1066,420"/> <area shape="rect" title=" " alt="" coords="1297,393,1437,420"/> <area shape="rect" title=" " alt="" coords="1461,393,1579,420"/> <area shape="rect" title=" " alt="" coords="1603,393,1709,420"/> </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="PluginScriptException_8h__dep__incl.png" border="0" usemap="#zypp_2PluginScriptException_8hdep" alt=""/></div> <map name="zypp_2PluginScriptException_8hdep" id="zypp_2PluginScriptException_8hdep"> <area shape="rect" title=" " alt="" coords="585,5,784,32"/> <area shape="rect" href="PluginScript_8h.html" title=" " alt="" coords="561,80,701,107"/> <area shape="rect" href="PluginScriptException_8cc.html" title=" " alt="" coords="815,155,1018,181"/> <area shape="rect" href="MediaAccess_8cc.html" title=" " alt="" coords="5,155,196,181"/> <area shape="rect" href="UrlResolverPlugin_8cc.html" title=" " alt="" coords="221,155,442,181"/> <area shape="rect" href="PluginExecutor_8h.html" title=" " alt="" coords="466,155,623,181"/> <area shape="rect" href="PluginScript_8cc.html" title=" " alt="" coords="647,155,791,181"/> <area shape="rect" href="PluginExecutor_8cc.html" title=" " alt="" coords="367,229,528,256"/> <area shape="rect" href="TargetImpl_8cc.html" title=" " alt="" coords="553,229,734,256"/> </map> </div> </div> <p><a href="PluginScriptException_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">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1PluginScriptException.html">zypp::PluginScriptException</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Base class for <a class="el" href="classzypp_1_1PluginScript.html">PluginScript</a> <a class="el" href="classzypp_1_1Exception.html">Exception</a>. <a href="classzypp_1_1PluginScriptException.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> </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:a21ab8f4173229c8183ba697ec92cae2a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="PluginScriptException_8h.html#a21ab8f4173229c8183ba697ec92cae2a">declException</a>(EXCP, BASE)</td></tr> <tr class="memdesc:a21ab8f4173229c8183ba697ec92cae2a"><td class="mdescLeft"> </td><td class="mdescRight">Convenience macro to declare more specific PluginScriptExceptions. <a href="#a21ab8f4173229c8183ba697ec92cae2a">More...</a><br /></td></tr> <tr class="separator:a21ab8f4173229c8183ba697ec92cae2a"><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:a8c801ccf19ed742d753c4dcd2727b3e5"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacezypp.html#a8c801ccf19ed742d753c4dcd2727b3e5">zypp::declException</a> (PluginScriptNotConnected, PluginScriptException)</td></tr> <tr class="memdesc:a8c801ccf19ed742d753c4dcd2727b3e5"><td class="mdescLeft"> </td><td class="mdescRight">Script connection not open. <a href="namespacezypp.html#a8c801ccf19ed742d753c4dcd2727b3e5">More...</a><br /></td></tr> <tr class="separator:a8c801ccf19ed742d753c4dcd2727b3e5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af6ed6f68892740754098ec5492100251"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacezypp.html#af6ed6f68892740754098ec5492100251">zypp::declException</a> (PluginScriptDiedUnexpectedly, PluginScriptException)</td></tr> <tr class="memdesc:af6ed6f68892740754098ec5492100251"><td class="mdescLeft"> </td><td class="mdescRight">Script died unexpectedly. <a href="namespacezypp.html#af6ed6f68892740754098ec5492100251">More...</a><br /></td></tr> <tr class="separator:af6ed6f68892740754098ec5492100251"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afd150b4b833ecb255abd3e12477b616e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacezypp.html#afd150b4b833ecb255abd3e12477b616e">zypp::declException</a> (PluginScriptTimeout, PluginScriptException)</td></tr> <tr class="memdesc:afd150b4b833ecb255abd3e12477b616e"><td class="mdescLeft"> </td><td class="mdescRight">Communication timeout. <a href="namespacezypp.html#afd150b4b833ecb255abd3e12477b616e">More...</a><br /></td></tr> <tr class="separator:afd150b4b833ecb255abd3e12477b616e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac153247560ed9c408914cb2ea1060ba5"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacezypp.html#ac153247560ed9c408914cb2ea1060ba5">zypp::declException</a> (PluginScriptSendTimeout, PluginScriptTimeout)</td></tr> <tr class="memdesc:ac153247560ed9c408914cb2ea1060ba5"><td class="mdescLeft"> </td><td class="mdescRight">Timeout while sending data. <a href="namespacezypp.html#ac153247560ed9c408914cb2ea1060ba5">More...</a><br /></td></tr> <tr class="separator:ac153247560ed9c408914cb2ea1060ba5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a24ca2a9ef8153c4bb5374885a9e74170"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacezypp.html#a24ca2a9ef8153c4bb5374885a9e74170">zypp::declException</a> (PluginScriptReceiveTimeout, PluginScriptTimeout)</td></tr> <tr class="memdesc:a24ca2a9ef8153c4bb5374885a9e74170"><td class="mdescLeft"> </td><td class="mdescRight">Timeout while receiving data. <a href="namespacezypp.html#a24ca2a9ef8153c4bb5374885a9e74170">More...</a><br /></td></tr> <tr class="separator:a24ca2a9ef8153c4bb5374885a9e74170"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Macro Definition Documentation</h2> <a id="a21ab8f4173229c8183ba697ec92cae2a"></a> <h2 class="memtitle"><span class="permalink"><a href="#a21ab8f4173229c8183ba697ec92cae2a">◆ </a></span>declException</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define declException</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">EXCP, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">BASE </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <b>Value:</b><div class="fragment"><div class="line"><span class="keyword">class </span>EXCP : <span class="keyword">public</span> BASE { \</div><div class="line"> public: \</div><div class="line"> EXCP() : BASE( #EXCP ) {} \</div><div class="line"> EXCP( <span class="keyword">const</span> std::string & msg_r ) : BASE( msg_r ) {} \</div><div class="line"> EXCP( <span class="keyword">const</span> std::string & msg_r, <span class="keyword">const</span> std::string & hist_r ) : BASE( msg_r, hist_r ) {} \</div><div class="line"> virtual ~EXCP() throw() {} \</div><div class="line"> }</div></div><!-- fragment --> <p>Convenience macro to declare more specific PluginScriptExceptions. </p> <p class="definition">Definition at line <a class="el" href="PluginScriptException_8h_source.html#l00035">35</a> of file <a class="el" href="PluginScriptException_8h_source.html">PluginScriptException.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="PluginScriptException_8h.html">PluginScriptException.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>