<!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/repo/RepoException.cc Source File</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('RepoException_8cc_source.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="headertitle"> <div class="title">RepoException.cc</div> </div> </div><!--header--> <div class="contents"> <a href="RepoException_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*---------------------------------------------------------------------\</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">| ____ _ __ __ ___ |</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">| |__ / \ / / . \ . \ |</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">| / / \ V /| _/ _/ |</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">| / /__ | | | | | | |</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">| /_____||_| |_| |_| |</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">| |</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">\---------------------------------------------------------------------*/</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <iostream></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include "<a class="code" href="RepoException_8h.html">zypp/repo/RepoException.h</a>"</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "<a class="code" href="String_8h.html">zypp/base/String.h</a>"</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "<a class="code" href="Gettext_8h.html">zypp/base/Gettext.h</a>"</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="keyword">using</span> std::endl;</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">namespace </span><a class="code" href="namespacezypp.html">zypp</a></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> { </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keyword">namespace </span>repo</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  { </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="comment">//</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="comment">// Repository related exceptions</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="comment">//</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment"></span></div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classzypp_1_1repo_1_1RepoException.html#a51db59de128e7602991a9170f7772578"> 32</a></span>  <a class="code" href="classzypp_1_1repo_1_1RepoException.html#a51db59de128e7602991a9170f7772578">RepoException::RepoException</a>()</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  : <a class="code" href="classzypp_1_1Exception.html">Exception</a>( <span class="stringliteral">"Repo exception"</span> )</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  {}</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classzypp_1_1repo_1_1RepoException.html#ae0ed83920aad3a223f34a01fd6d31f7b"> 36</a></span>  <a class="code" href="classzypp_1_1repo_1_1RepoException.html#a51db59de128e7602991a9170f7772578">RepoException::RepoException</a>( <span class="keyword">const</span> std::string & msg_r )</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  : <a class="code" href="classzypp_1_1Exception.html">Exception</a>( msg_r )</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  {}</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classzypp_1_1repo_1_1RepoException.html#ab010996cd2a6fd5d96b573f778cba058"> 40</a></span>  <a class="code" href="classzypp_1_1repo_1_1RepoException.html#a51db59de128e7602991a9170f7772578">RepoException::RepoException</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1RepoInfo.html">RepoInfo</a> & info )</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  : <a class="code" href="classzypp_1_1Exception.html">Exception</a>( <span class="stringliteral">"Repo exception"</span> ), _info( info )</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  {}</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classzypp_1_1repo_1_1RepoException.html#abee6a3fed8c24a183a2a51a371947144"> 44</a></span>  <a class="code" href="classzypp_1_1repo_1_1RepoException.html#a51db59de128e7602991a9170f7772578">RepoException::RepoException</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1RepoInfo.html">RepoInfo</a> & info, <span class="keyword">const</span> std::string& msg_r )</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  : <a class="code" href="classzypp_1_1Exception.html">Exception</a>( msg_r ), _info( info )</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  {}</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classzypp_1_1repo_1_1RepoException.html#a304fb018cd02928b354fe4f5b429a73b"> 48</a></span>  <a class="code" href="classzypp_1_1repo_1_1RepoException.html#a304fb018cd02928b354fe4f5b429a73b">RepoException::~RepoException</a>() throw()</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  {}</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classzypp_1_1repo_1_1RepoException.html#aa49b64a872e15308a85fa7a8ef6d58e9"> 51</a></span>  std::ostream & <a class="code" href="classzypp_1_1repo_1_1RepoException.html#aa49b64a872e15308a85fa7a8ef6d58e9">RepoException::dumpOn</a>( std::ostream & <a class="code" href="namespacestr.html">str</a> )<span class="keyword"> const</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="namespacestr.html">str</a> << <span class="stringliteral">"["</span> << <a class="code" href="classzypp_1_1repo_1_1RepoException.html#aad20eff8072100b6d3d8b52e4e4b7329">_info</a>.<a class="code" href="classzypp_1_1repo_1_1RepoInfoBase.html#afab76632f5714287e21fde1f4dfa00a1">alias</a>() << <span class="stringliteral">"|"</span> << <a class="code" href="classzypp_1_1repo_1_1RepoException.html#aad20eff8072100b6d3d8b52e4e4b7329">_info</a>.<a class="code" href="classzypp_1_1RepoInfo.html#a716c908c1f49972fa90f63991b7dddce">url</a>() << <span class="stringliteral">"] "</span>;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Exception.html#a78a1c89db7b943c545667a96d697cbee">Exception::dumpOn</a>( <a class="code" href="namespacestr.html">str</a> );</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  }</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor">#define DEF_CTORS( CLASS, MSG ) \</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="preprocessor"> CLASS::CLASS() : RepoException( MSG ) {} \</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="preprocessor"> CLASS::CLASS( const std::string & msg_r ) : RepoException( msg_r ) {} \</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor"> CLASS::CLASS( const RepoInfo & service_r ) : RepoException( service_r, MSG ) {} \</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="preprocessor"> CLASS::CLASS( const RepoInfo & service_r, const std::string & msg_r ) : RepoException( service_r, msg_r ) {}</span></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="namespacezypp_1_1repo.html#aa4251e03846303f80e4a65eb61f6a93f">DEF_CTORS</a>( <a class="code" href="classzypp_1_1repo_1_1RepoNotCachedException.html">RepoNotCachedException</a>, <span class="stringliteral">"Repository is not cached"</span> );</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="namespacezypp_1_1repo.html#aa4251e03846303f80e4a65eb61f6a93f">DEF_CTORS</a>( <a class="code" href="classzypp_1_1repo_1_1RepoNoUrlException.html">RepoNoUrlException</a>, <span class="stringliteral">"Repository has no or invalid url defined."</span> );</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="namespacezypp_1_1repo.html#aa4251e03846303f80e4a65eb61f6a93f">DEF_CTORS</a>( <a class="code" href="classzypp_1_1repo_1_1RepoNoAliasException.html">RepoNoAliasException</a>, <span class="stringliteral">"Repository has no alias defined."</span> );</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <a class="code" href="namespacezypp_1_1repo.html#aa4251e03846303f80e4a65eb61f6a93f">DEF_CTORS</a>( <a class="code" href="classzypp_1_1repo_1_1RepoInvalidAliasException.html">RepoInvalidAliasException</a>, <span class="stringliteral">"Repository has an invalid alias."</span> );</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="namespacezypp_1_1repo.html#aa4251e03846303f80e4a65eb61f6a93f">DEF_CTORS</a>( <a class="code" href="classzypp_1_1repo_1_1RepoNotFoundException.html">RepoNotFoundException</a>, <span class="stringliteral">"Repository not found."</span> );</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <a class="code" href="namespacezypp_1_1repo.html#aa4251e03846303f80e4a65eb61f6a93f">DEF_CTORS</a>( <a class="code" href="classzypp_1_1repo_1_1RepoAlreadyExistsException.html">RepoAlreadyExistsException</a>, <span class="stringliteral">"Repository already exists."</span> );</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="namespacezypp_1_1repo.html#aa4251e03846303f80e4a65eb61f6a93f">DEF_CTORS</a>( <a class="code" href="classzypp_1_1repo_1_1RepoUnknownTypeException.html">RepoUnknownTypeException</a>, <span class="stringliteral">"Repository type can't be determined."</span> );</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="namespacezypp_1_1repo.html#aa4251e03846303f80e4a65eb61f6a93f">DEF_CTORS</a>( <a class="code" href="classzypp_1_1repo_1_1RepoMetadataException.html">RepoMetadataException</a>, <span class="stringliteral">"Repository metadata not usable."</span> );</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="preprocessor">#undef DEF_CTORS</span></div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="comment">//</span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="comment">// Service related exceptions</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="comment">//</span></div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="comment"></span></div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classzypp_1_1repo_1_1ServiceException.html#af6a616919cf0f318dc2a9eb85070988a"> 82</a></span>  <a class="code" href="classzypp_1_1repo_1_1ServiceException.html#af6a616919cf0f318dc2a9eb85070988a">ServiceException::ServiceException</a>()</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  : <a class="code" href="classzypp_1_1Exception.html">Exception</a>( <span class="stringliteral">"Service exception"</span> )</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  {}</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classzypp_1_1repo_1_1ServiceException.html#a2d094224df87e07344e30994945824f0"> 86</a></span>  <a class="code" href="classzypp_1_1repo_1_1ServiceException.html#af6a616919cf0f318dc2a9eb85070988a">ServiceException::ServiceException</a>( <span class="keyword">const</span> std::string & msg_r )</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  : <a class="code" href="classzypp_1_1Exception.html">Exception</a>( msg_r )</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  {}</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classzypp_1_1repo_1_1ServiceException.html#aa230252301619b0f05c5eca520a67d52"> 90</a></span>  <a class="code" href="classzypp_1_1repo_1_1ServiceException.html#af6a616919cf0f318dc2a9eb85070988a">ServiceException::ServiceException</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1ServiceInfo.html">ServiceInfo</a> & service_r )</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  : <a class="code" href="classzypp_1_1Exception.html">Exception</a>( <span class="stringliteral">"Service exception"</span> ), _service( service_r )</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  {}</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="classzypp_1_1repo_1_1ServiceException.html#a17ae0247243d44bc040e48080388d1ca"> 94</a></span>  <a class="code" href="classzypp_1_1repo_1_1ServiceException.html#af6a616919cf0f318dc2a9eb85070988a">ServiceException::ServiceException</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1ServiceInfo.html">ServiceInfo</a> & service_r, <span class="keyword">const</span> std::string & msg_r )</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  : <a class="code" href="classzypp_1_1Exception.html">Exception</a>( msg_r ), _service( service_r )</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  {}</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classzypp_1_1repo_1_1ServiceException.html#a89b3a787782d239539736950957f5c2c"> 98</a></span>  <a class="code" href="classzypp_1_1repo_1_1ServiceException.html#a89b3a787782d239539736950957f5c2c">ServiceException::~ServiceException</a>() throw()</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  {}</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classzypp_1_1repo_1_1ServiceException.html#a5a79882519e41013f7ee2f6da76e8476"> 101</a></span>  std::ostream & <a class="code" href="classzypp_1_1repo_1_1ServiceException.html#a5a79882519e41013f7ee2f6da76e8476">ServiceException::dumpOn</a>( std::ostream & <a class="code" href="namespacestr.html">str</a> )<span class="keyword"> const</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <a class="code" href="namespacestr.html">str</a> << <span class="stringliteral">"["</span> << <a class="code" href="classzypp_1_1repo_1_1ServiceException.html#a0e88915ca53892f8c7d3ae9dd15d3834">_service</a>.<a class="code" href="classzypp_1_1repo_1_1RepoInfoBase.html#afab76632f5714287e21fde1f4dfa00a1">alias</a>() << <span class="stringliteral">"|"</span> << <a class="code" href="classzypp_1_1repo_1_1ServiceException.html#a0e88915ca53892f8c7d3ae9dd15d3834">_service</a>.<a class="code" href="classzypp_1_1ServiceInfo.html#a82278688431ad6fae86d60e600bb4133">url</a>() << <span class="stringliteral">"] "</span>;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Exception.html#a78a1c89db7b943c545667a96d697cbee">Exception::dumpOn</a>( <a class="code" href="namespacestr.html">str</a> );</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  }</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="RepoException_8cc.html#a99d9b3ebc236dbd457a7018c8496985d"> 109</a></span> <span class="preprocessor">#define DEF_CTORS( CLASS, MSG ) \</span></div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="preprocessor"> CLASS::CLASS() : DEF_BASECLASS( MSG ) {} \</span></div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="preprocessor"> CLASS::CLASS( const std::string & msg_r ) : DEF_BASECLASS( msg_r ) {} \</span></div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="preprocessor"> CLASS::CLASS( const ServiceInfo & service_r ) : DEF_BASECLASS( service_r, MSG ) {} \</span></div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="preprocessor"> CLASS::CLASS( const ServiceInfo & service_r, const std::string & msg_r ) : DEF_BASECLASS( service_r, msg_r ) {}</span></div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="preprocessor">#define DEF_BASECLASS ServiceException</span></div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <a class="code" href="namespacezypp_1_1repo.html#aa4251e03846303f80e4a65eb61f6a93f">DEF_CTORS</a>( ServiceNoAliasException, <span class="stringliteral">"Service has no alias defined."</span> );</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="code" href="namespacezypp_1_1repo.html#aa4251e03846303f80e4a65eb61f6a93f">DEF_CTORS</a>( ServiceInvalidAliasException, <span class="stringliteral">"Service has an invalid alias."</span> );</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <a class="code" href="namespacezypp_1_1repo.html#aa4251e03846303f80e4a65eb61f6a93f">DEF_CTORS</a>( ServiceAlreadyExistsException, <span class="stringliteral">"Service already exists."</span> );</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <a class="code" href="namespacezypp_1_1repo.html#aa4251e03846303f80e4a65eb61f6a93f">DEF_CTORS</a>( ServiceNoUrlException, <span class="stringliteral">"Service has no or invalid url defined."</span> );</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="comment">// sub classes:</span></div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="code" href="namespacezypp_1_1repo.html#aa4251e03846303f80e4a65eb61f6a93f">DEF_CTORS</a>( ServicePluginException, <span class="stringliteral">"PLUGIN service exception."</span> );</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="comment">// sub class: ServicePluginException</span></div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="preprocessor">#undef DEF_BASECLASS</span></div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="RepoException_8cc.html#ad3822649be02a3d1363ffa8bc3fb9bdf"> 127</a></span> <span class="preprocessor">#define DEF_BASECLASS ServicePluginException</span></div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <a class="code" href="namespacezypp_1_1repo.html#aa4251e03846303f80e4a65eb61f6a93f">DEF_CTORS</a>( ServicePluginInformalException, <span class="stringliteral">"Service plugin has trouble providing the metadata but this should not be treated as error."</span> );</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <a class="code" href="namespacezypp_1_1repo.html#aa4251e03846303f80e4a65eb61f6a93f">DEF_CTORS</a>( ServicePluginImmutableException, <a class="code" href="Gettext_8h.html#ad0ac7087c1804ce80118f897d7edd897">_</a>(<span class="stringliteral">"Service plugin does not support changing an attribute."</span>) );</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="preprocessor">#undef DEF_CTORS</span></div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  } <span class="comment">// namespace repo</span></div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="comment"></span>} <span class="comment">// namespace zypp</span></div><div class="ttc" id="classzypp_1_1ServiceInfo_html"><div class="ttname"><a href="classzypp_1_1ServiceInfo.html">zypp::ServiceInfo</a></div><div class="ttdoc">Service data.</div><div class="ttdef"><b>Definition:</b> <a href="ServiceInfo_8h_source.html#l00036">ServiceInfo.h:36</a></div></div> <div class="ttc" id="classzypp_1_1repo_1_1RepoNotFoundException_html"><div class="ttname"><a href="classzypp_1_1repo_1_1RepoNotFoundException.html">zypp::repo::RepoNotFoundException</a></div><div class="ttdoc">thrown when it was impossible to match a repository</div><div class="ttdef"><b>Definition:</b> <a href="RepoException_8h_source.html#l00116">RepoException.h:116</a></div></div> <div class="ttc" id="Gettext_8h_html"><div class="ttname"><a href="Gettext_8h.html">Gettext.h</a></div><div class="ttdoc">Interface to gettext.</div></div> <div class="ttc" id="classzypp_1_1repo_1_1RepoUnknownTypeException_html"><div class="ttname"><a href="classzypp_1_1repo_1_1RepoUnknownTypeException.html">zypp::repo::RepoUnknownTypeException</a></div><div class="ttdoc">thrown when it was impossible to determine this repo type.</div><div class="ttdef"><b>Definition:</b> <a href="RepoException_8h_source.html#l00142">RepoException.h:142</a></div></div> <div class="ttc" id="classzypp_1_1repo_1_1ServiceException_html_a5a79882519e41013f7ee2f6da76e8476"><div class="ttname"><a href="classzypp_1_1repo_1_1ServiceException.html#a5a79882519e41013f7ee2f6da76e8476">zypp::repo::ServiceException::dumpOn</a></div><div class="ttdeci">virtual std::ostream & dumpOn(std::ostream &str) const</div><div class="ttdoc">Overload this to print a proper error message.</div><div class="ttdef"><b>Definition:</b> <a href="RepoException_8cc_source.html#l00101">RepoException.cc:101</a></div></div> <div class="ttc" id="classzypp_1_1Exception_html_a78a1c89db7b943c545667a96d697cbee"><div class="ttname"><a href="classzypp_1_1Exception.html#a78a1c89db7b943c545667a96d697cbee">zypp::Exception::dumpOn</a></div><div class="ttdeci">virtual std::ostream & dumpOn(std::ostream &str) const</div><div class="ttdoc">Overload this to print a proper error message.</div><div class="ttdef"><b>Definition:</b> <a href="Exception_8cc_source.html#l00141">Exception.cc:141</a></div></div> <div class="ttc" id="classzypp_1_1repo_1_1RepoException_html_a51db59de128e7602991a9170f7772578"><div class="ttname"><a href="classzypp_1_1repo_1_1RepoException.html#a51db59de128e7602991a9170f7772578">zypp::repo::RepoException::RepoException</a></div><div class="ttdeci">RepoException()</div><div class="ttdef"><b>Definition:</b> <a href="RepoException_8cc_source.html#l00032">RepoException.cc:32</a></div></div> <div class="ttc" id="namespacestr_html"><div class="ttname"><a href="namespacestr.html">str</a></div><div class="ttdoc">String related utilities and Regular expression matching.</div></div> <div class="ttc" id="classzypp_1_1RepoInfo_html"><div class="ttname"><a href="classzypp_1_1RepoInfo.html">zypp::RepoInfo</a></div><div class="ttdoc">What is known about a repository.</div><div class="ttdef"><b>Definition:</b> <a href="RepoInfo_8h_source.html#l00071">RepoInfo.h:71</a></div></div> <div class="ttc" id="classzypp_1_1repo_1_1ServiceException_html_a0e88915ca53892f8c7d3ae9dd15d3834"><div class="ttname"><a href="classzypp_1_1repo_1_1ServiceException.html#a0e88915ca53892f8c7d3ae9dd15d3834">zypp::repo::ServiceException::_service</a></div><div class="ttdeci">ServiceInfo _service</div><div class="ttdef"><b>Definition:</b> <a href="RepoException_8h_source.html#l00194">RepoException.h:194</a></div></div> <div class="ttc" id="namespacezypp_1_1repo_html_aa4251e03846303f80e4a65eb61f6a93f"><div class="ttname"><a href="namespacezypp_1_1repo.html#aa4251e03846303f80e4a65eb61f6a93f">zypp::repo::DEF_CTORS</a></div><div class="ttdeci">DEF_CTORS(RepoNotCachedException, "Repository is not cached")</div></div> <div class="ttc" id="classzypp_1_1RepoInfo_html_a716c908c1f49972fa90f63991b7dddce"><div class="ttname"><a href="classzypp_1_1RepoInfo.html#a716c908c1f49972fa90f63991b7dddce">zypp::RepoInfo::url</a></div><div class="ttdeci">Url url() const</div><div class="ttdoc">Pars pro toto: The first repository url.</div><div class="ttdef"><b>Definition:</b> <a href="RepoInfo_8h_source.html#l00131">RepoInfo.h:131</a></div></div> <div class="ttc" id="RepoException_8h_html"><div class="ttname"><a href="RepoException_8h.html">RepoException.h</a></div></div> <div class="ttc" id="classzypp_1_1repo_1_1RepoNoUrlException_html"><div class="ttname"><a href="classzypp_1_1repo_1_1RepoNoUrlException.html">zypp::repo::RepoNoUrlException</a></div><div class="ttdoc">thrown when it was impossible to determine one url for this repo.</div><div class="ttdef"><b>Definition:</b> <a href="RepoException_8h_source.html#l00078">RepoException.h:78</a></div></div> <div class="ttc" id="classzypp_1_1repo_1_1RepoInfoBase_html_afab76632f5714287e21fde1f4dfa00a1"><div class="ttname"><a href="classzypp_1_1repo_1_1RepoInfoBase.html#afab76632f5714287e21fde1f4dfa00a1">zypp::repo::RepoInfoBase::alias</a></div><div class="ttdeci">std::string alias() const</div><div class="ttdoc">unique identifier for this source.</div><div class="ttdef"><b>Definition:</b> <a href="RepoInfoBase_8cc_source.html#l00111">RepoInfoBase.cc:111</a></div></div> <div class="ttc" id="classzypp_1_1repo_1_1RepoMetadataException_html"><div class="ttname"><a href="classzypp_1_1repo_1_1RepoMetadataException.html">zypp::repo::RepoMetadataException</a></div><div class="ttdoc">thrown when it was impossible to use the raw metadata for this repo.</div><div class="ttdef"><b>Definition:</b> <a href="RepoException_8h_source.html#l00155">RepoException.h:155</a></div></div> <div class="ttc" id="classzypp_1_1repo_1_1RepoException_html_aa49b64a872e15308a85fa7a8ef6d58e9"><div class="ttname"><a href="classzypp_1_1repo_1_1RepoException.html#aa49b64a872e15308a85fa7a8ef6d58e9">zypp::repo::RepoException::dumpOn</a></div><div class="ttdeci">virtual std::ostream & dumpOn(std::ostream &str) const</div><div class="ttdoc">Overload this to print a proper error message.</div><div class="ttdef"><b>Definition:</b> <a href="RepoException_8cc_source.html#l00051">RepoException.cc:51</a></div></div> <div class="ttc" id="Gettext_8h_html_ad0ac7087c1804ce80118f897d7edd897"><div class="ttname"><a href="Gettext_8h.html#ad0ac7087c1804ce80118f897d7edd897">_</a></div><div class="ttdeci">#define _(MSG)</div><div class="ttdef"><b>Definition:</b> <a href="Gettext_8h_source.html#l00037">Gettext.h:37</a></div></div> <div class="ttc" id="classzypp_1_1repo_1_1ServiceException_html_af6a616919cf0f318dc2a9eb85070988a"><div class="ttname"><a href="classzypp_1_1repo_1_1ServiceException.html#af6a616919cf0f318dc2a9eb85070988a">zypp::repo::ServiceException::ServiceException</a></div><div class="ttdeci">ServiceException()</div><div class="ttdef"><b>Definition:</b> <a href="RepoException_8cc_source.html#l00082">RepoException.cc:82</a></div></div> <div class="ttc" id="classzypp_1_1ServiceInfo_html_a82278688431ad6fae86d60e600bb4133"><div class="ttname"><a href="classzypp_1_1ServiceInfo.html#a82278688431ad6fae86d60e600bb4133">zypp::ServiceInfo::url</a></div><div class="ttdeci">Url url() const</div><div class="ttdoc">The service url.</div><div class="ttdef"><b>Definition:</b> <a href="ServiceInfo_8cc_source.html#l00099">ServiceInfo.cc:99</a></div></div> <div class="ttc" id="classzypp_1_1repo_1_1RepoNoAliasException_html"><div class="ttname"><a href="classzypp_1_1repo_1_1RepoNoAliasException.html">zypp::repo::RepoNoAliasException</a></div><div class="ttdoc">thrown when it was impossible to determine an alias for this repo.</div><div class="ttdef"><b>Definition:</b> <a href="RepoException_8h_source.html#l00091">RepoException.h:91</a></div></div> <div class="ttc" id="classzypp_1_1Exception_html"><div class="ttname"><a href="classzypp_1_1Exception.html">zypp::Exception</a></div><div class="ttdoc">Base class for Exception.</div><div class="ttdef"><b>Definition:</b> <a href="Exception_8h_source.html#l00145">Exception.h:145</a></div></div> <div class="ttc" id="classzypp_1_1repo_1_1RepoException_html_a304fb018cd02928b354fe4f5b429a73b"><div class="ttname"><a href="classzypp_1_1repo_1_1RepoException.html#a304fb018cd02928b354fe4f5b429a73b">zypp::repo::RepoException::~RepoException</a></div><div class="ttdeci">virtual ~RepoException()</div><div class="ttdef"><b>Definition:</b> <a href="RepoException_8cc_source.html#l00048">RepoException.cc:48</a></div></div> <div class="ttc" id="classzypp_1_1repo_1_1RepoNotCachedException_html"><div class="ttname"><a href="classzypp_1_1repo_1_1RepoNotCachedException.html">zypp::repo::RepoNotCachedException</a></div><div class="ttdoc">The repository cache is not built yet so you can't create the repostories from the cache.</div><div class="ttdef"><b>Definition:</b> <a href="RepoException_8h_source.html#l00065">RepoException.h:65</a></div></div> <div class="ttc" id="classzypp_1_1repo_1_1RepoInvalidAliasException_html"><div class="ttname"><a href="classzypp_1_1repo_1_1RepoInvalidAliasException.html">zypp::repo::RepoInvalidAliasException</a></div><div class="ttdoc">Thrown when the repo alias is found to be invalid.</div><div class="ttdef"><b>Definition:</b> <a href="RepoException_8h_source.html#l00103">RepoException.h:103</a></div></div> <div class="ttc" id="classzypp_1_1repo_1_1ServiceException_html_a89b3a787782d239539736950957f5c2c"><div class="ttname"><a href="classzypp_1_1repo_1_1ServiceException.html#a89b3a787782d239539736950957f5c2c">zypp::repo::ServiceException::~ServiceException</a></div><div class="ttdeci">virtual ~ServiceException()</div><div class="ttdef"><b>Definition:</b> <a href="RepoException_8cc_source.html#l00098">RepoException.cc:98</a></div></div> <div class="ttc" id="classzypp_1_1repo_1_1RepoAlreadyExistsException_html"><div class="ttname"><a href="classzypp_1_1repo_1_1RepoAlreadyExistsException.html">zypp::repo::RepoAlreadyExistsException</a></div><div class="ttdoc">Repository already exists and some unique attribute can't be duplicated.</div><div class="ttdef"><b>Definition:</b> <a href="RepoException_8h_source.html#l00129">RepoException.h:129</a></div></div> <div class="ttc" id="namespacezypp_html"><div class="ttname"><a href="namespacezypp.html">zypp</a></div><div class="ttdoc">Easy-to use interface to the ZYPP dependency resolver.</div><div class="ttdef"><b>Definition:</b> <a href="CodePitfalls_8doc_source.html#l00001">CodePitfalls.doc:1</a></div></div> <div class="ttc" id="String_8h_html"><div class="ttname"><a href="String_8h.html">String.h</a></div></div> <div class="ttc" id="classzypp_1_1repo_1_1RepoException_html_aad20eff8072100b6d3d8b52e4e4b7329"><div class="ttname"><a href="classzypp_1_1repo_1_1RepoException.html#aad20eff8072100b6d3d8b52e4e4b7329">zypp::repo::RepoException::_info</a></div><div class="ttdeci">RepoInfo _info</div><div class="ttdef"><b>Definition:</b> <a href="RepoException_8h_source.html#l00056">RepoException.h:56</a></div></div> </div><!-- fragment --></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_87611d73de4eb3bd0276658efbbf5b67.html">repo</a></li><li class="navelem"><a class="el" href="RepoException_8cc.html">RepoException.cc</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>