<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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"/> <title>Soprano: /builddir/build/BUILD/soprano-2.5.2/soprano/error.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.1 --> <script type="text/javascript"> function hasClass(ele,cls) { return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)')); } function addClass(ele,cls) { if (!this.hasClass(ele,cls)) ele.className += " "+cls; } function removeClass(ele,cls) { if (hasClass(ele,cls)) { var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)'); ele.className=ele.className.replace(reg,' '); } } function toggleVisibility(linkObj) { var base = linkObj.getAttribute('id'); var summary = document.getElementById(base + '-summary'); var content = document.getElementById(base + '-content'); var trigger = document.getElementById(base + '-trigger'); if ( hasClass(linkObj,'closed') ) { summary.style.display = 'none'; content.style.display = 'block'; trigger.src = 'open.png'; removeClass(linkObj,'closed'); addClass(linkObj,'opened'); } else if ( hasClass(linkObj,'opened') ) { summary.style.display = 'block'; content.style.display = 'none'; trigger.src = 'closed.png'; removeClass(linkObj,'opened'); addClass(linkObj,'closed'); } return false; } </script> <div class="navigation" id="top"> <div class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#namespaces">Namespaces</a> | <a href="#enum-members">Enumerations</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <h1>/builddir/build/BUILD/soprano-2.5.2/soprano/error.h File Reference</h1> </div> </div> <div class="contents"> <code>#include "<a class="el" href="soprano__export_8h_source.html">soprano_export.h</a>"</code><br/> <code>#include <QtCore/QString></code><br/> <code>#include <QtCore/QSharedDataPointer></code><br/> <div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-0-trigger" src="closed.png"/> Include dependency graph for error.h:</div> <div id="dynsection-0-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-0-content" class="dyncontent" style="display:none;"> <div class="center"><img src="error_8h__incl.png" border="0" usemap="#_2builddir_2build_2BUILD_2soprano-2_85_82_2soprano_2error_8h" alt=""/></div> <map name="_2builddir_2build_2BUILD_2soprano-2_85_82_2soprano_2error_8h" id="_2builddir_2build_2BUILD_2soprano-2_85_82_2soprano_2error_8h"> <area shape="rect" id="node3" href="soprano__export_8h.html" title="soprano_export.h" alt="" coords="5,83,128,112"/></map> </div> <div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-1-trigger" src="closed.png"/> This graph shows which files directly or indirectly include this file:</div> <div id="dynsection-1-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-1-content" class="dyncontent" style="display:none;"> <div class="center"><img src="error_8h__dep__incl.png" border="0" usemap="#_2builddir_2build_2BUILD_2soprano-2_85_82_2soprano_2error_8hdep" alt=""/></div> <map name="_2builddir_2build_2BUILD_2soprano-2_85_82_2soprano_2error_8hdep" id="_2builddir_2build_2BUILD_2soprano-2_85_82_2soprano_2error_8hdep"> <area shape="rect" id="node3" href="backend_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/backend.h" alt="" coords="6256,83,6595,112"/><area shape="rect" id="node7" href="soprano_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/soprano.h" alt="" coords="2776,392,3112,421"/><area shape="rect" id="node10" href="tcpclient_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/client/tcpclient.h" alt="" coords="6205,160,6528,189"/><area shape="rect" id="node12" href="localsocketclient_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/client/localsocketclient.h" alt="" coords="6949,160,7320,189"/><area shape="rect" id="node14" href="dbusclient_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/client/dbus/dbusclient.h" alt="" coords="7344,160,7709,189"/><area shape="rect" id="node16" href="model_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/model.h" alt="" coords="1645,160,1971,189"/><area shape="rect" id="node52" href="graph_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/graph.h" alt="" coords="6720,83,7043,112"/><area shape="rect" id="node54" href="iteratorbackend_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/iteratorbackend.h" alt="" coords="5701,83,6080,112"/><area shape="rect" id="node56" href="iterator_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/iterator.h" alt="" coords="5763,160,6093,189"/><area shape="rect" id="node78" href="cluceneindex_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/index/cluceneindex.h" alt="" coords="6131,237,6480,267"/><area shape="rect" id="node83" href="n3nodeparser_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/n3nodeparser.h" alt="" coords="7067,83,7435,112"/><area shape="rect" id="node85" href="parser_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/parser.h" alt="" coords="5,160,331,189"/><area shape="rect" id="node88" href="serializer_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/serializer.h" alt="" coords="201,83,543,112"/><area shape="rect" id="node92" href="asyncresult_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/util/asyncresult.h" alt="" coords="3957,160,4336,189"/><area shape="rect" id="node96" href="asyncquery_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/util/asyncquery.h" alt="" coords="7459,83,7837,112"/><area shape="rect" id="node99" href="servercore_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/server/servercore.h" alt="" coords="7861,83,8203,112"/><area shape="rect" id="node101" href="dbusexportiterator_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/server/dbus/dbusexportiterator.h" alt="" coords="8227,83,8643,112"/><area shape="rect" id="node5" href="global_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/global.h" alt="" coords="6603,160,6925,189"/><area shape="rect" id="node18" href="filtermodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/filtermodel.h" alt="" coords="2432,237,2781,267"/><area shape="rect" id="node40" href="storagemodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/storagemodel.h" alt="" coords="460,237,828,267"/><area shape="rect" id="node45" href="dummymodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/util/dummymodel.h" alt="" coords="852,237,1241,267"/><area shape="rect" id="node48" href="readonlymodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/util/readonlymodel.h" alt="" coords="1611,237,2005,267"/><area shape="rect" id="node50" href="sparqlmodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/client/sparql/sparqlmodel.h" alt="" coords="3211,237,3595,267"/><area shape="rect" id="node20" href="nrlmodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/nrlmodel.h" alt="" coords="3593,315,3932,344"/><area shape="rect" id="node22" href="rdfschemamodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/rdfschemamodel.h" alt="" coords="1007,315,1393,344"/><area shape="rect" id="node25" href="inferencemodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/inference/inferencemodel.h" alt="" coords="1417,315,1852,344"/><area shape="rect" id="node27" href="asyncmodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/util/asyncmodel.h" alt="" coords="3956,315,4337,344"/><area shape="rect" id="node30" href="mutexmodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/util/mutexmodel.h" alt="" coords="2753,315,3135,344"/><area shape="rect" id="node33" href="signalcachemodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/util/signalcachemodel.h" alt="" coords="1876,315,2289,344"/><area shape="rect" id="node35" href="indexfiltermodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/index/indexfiltermodel.h" alt="" coords="2313,315,2679,344"/><area shape="rect" id="node37" href="dbusexportmodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/server/dbus/dbusexportmodel.h" alt="" coords="3159,315,3569,344"/><area shape="rect" id="node43" href="dbusmodel_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/client/dbus/dbusmodel.h" alt="" coords="511,315,881,344"/><area shape="rect" id="node80" href="queryresultiteratorbackend_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/queryresultiteratorbackend.h" alt="" coords="5296,160,5739,189"/><area shape="rect" id="node58" href="nodeiterator_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/nodeiterator.h" alt="" coords="5749,237,6107,267"/><area shape="rect" id="node65" href="queryresultiterator_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/queryresultiterator.h" alt="" coords="5331,237,5725,267"/><area shape="rect" id="node70" href="statementiterator_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/statementiterator.h" alt="" coords="4711,237,5097,267"/><area shape="rect" id="node61" href="simplenodeiterator_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/util/simplenodeiterator.h" alt="" coords="5900,315,6316,344"/><area shape="rect" id="node63" href="dbusnodeiterator_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/client/dbus/dbusnodeiterator.h" alt="" coords="6340,315,6743,344"/><area shape="rect" id="node68" href="dbusqueryresultiterator_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/client/dbus/dbusqueryresultiterator.h" alt="" coords="5388,315,5825,344"/><area shape="rect" id="node73" href="simplestatementiterator_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/soprano/util/simplestatementiterator.h" alt="" coords="4868,315,5313,344"/><area shape="rect" id="node76" href="dbusstatementiterator_8h.html" title="/builddir/build/BUILD/soprano-2.5.2/client/dbus/dbusstatementiterator.h" alt="" coords="4412,315,4844,344"/></map> </div> <p><a href="error_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="nested-classes"></a> Classes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Error_1_1Error.html">Soprano::Error::Error</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Represents an error in Soprano. <a href="classSoprano_1_1Error_1_1Error.html#_details">More...</a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Error_1_1ParserError.html">Soprano::Error::ParserError</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Represents a parser error in Soprano. <a href="classSoprano_1_1Error_1_1ParserError.html#_details">More...</a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Error_1_1ErrorCache.html">Soprano::Error::ErrorCache</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Core class of Soprano's exception system. <a href="classSoprano_1_1Error_1_1ErrorCache.html#_details">More...</a><br/></td></tr> <tr><td colspan="2"><h2><a name="namespaces"></a> Namespaces</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceSoprano.html">Soprano</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceSoprano_1_1Error.html">Soprano::Error</a></td></tr> <tr><td colspan="2"><h2><a name="enum-members"></a> Enumerations</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525">Soprano::Error::ErrorCode</a> { <br/> <a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525a69f521a4f40b463680d393963d5b4187">Soprano::Error::ErrorNone</a> = 0x0, <a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525a17d888c35ad0ed84994c8902dfeab636">Soprano::Error::ErrorInvalidArgument</a> = 0x1, <a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525a5884220926dd01730e0c25545a863ab9">Soprano::Error::ErrorInvalidStatement</a> = ErrorInvalidArgument, <a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525a1b19e98e18b13ab0ca4275c65199baed">Soprano::Error::ErrorNotSupported</a> = 0x2, <br/> <a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525a3b77b0e757875493cbff2c6e08b4e9af">Soprano::Error::ErrorParsingFailed</a> = 0x3, <a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525a14b2fb86ddf557dd464700be1a8a14d0">Soprano::Error::ErrorPermissionDenied</a> = 0x4, <a class="el" href="namespaceSoprano_1_1Error.html#aef1bd25c5b6705951735e0fb5c5ff525a2ca96b602ece4de291a083e2c1958227">Soprano::Error::ErrorUnknown</a> = 0x1000 <br/> }</td></tr> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">SOPRANO_EXPORT <a class="elRef" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceSoprano_1_1Error.html#a1033e633e36396e92f1ceaedc939e502">Soprano::Error::errorMessage</a> (ErrorCode)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">SOPRANO_EXPORT ErrorCode </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceSoprano_1_1Error.html#ae35d0cea5ed6a8fdc4e4adc89b5954c4">Soprano::Error::convertErrorCode</a> (int code)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">SOPRANO_EXPORT QDebug </td><td class="memItemRight" valign="bottom"><a class="el" href="error_8h.html#afc667b38b176e4a2ea996bd27256496d">operator<<</a> (QDebug s, const <a class="el" href="classSoprano_1_1Error_1_1Error.html">Soprano::Error::Error</a> &)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">SOPRANO_EXPORT <a class="elRef" href="qtextstream.html">QTextStream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="error_8h.html#a5104bc5014c62bf07c2651eb92e90509">operator<<</a> (<a class="elRef" href="qtextstream.html">QTextStream</a> &s, const <a class="el" href="classSoprano_1_1Error_1_1Error.html">Soprano::Error::Error</a> &)</td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="afc667b38b176e4a2ea996bd27256496d"></a><!-- doxytag: member="error.h::operator<<" ref="afc667b38b176e4a2ea996bd27256496d" args="(QDebug s, const Soprano::Error::Error &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SOPRANO_EXPORT QDebug operator<< </td> <td>(</td> <td class="paramtype">QDebug </td> <td class="paramname"> <em>s</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Error_1_1Error.html">Soprano::Error::Error</a> & </td> <td class="paramname"></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a5104bc5014c62bf07c2651eb92e90509"></a><!-- doxytag: member="error.h::operator<<" ref="a5104bc5014c62bf07c2651eb92e90509" args="(QTextStream &s, const Soprano::Error::Error &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SOPRANO_EXPORT <a class="elRef" href="qtextstream.html">QTextStream</a>& operator<< </td> <td>(</td> <td class="paramtype"><a class="elRef" href="qtextstream.html">QTextStream</a> & </td> <td class="paramname"> <em>s</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classSoprano_1_1Error_1_1Error.html">Soprano::Error::Error</a> & </td> <td class="paramname"></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> </div> <hr class="footer"/><address class="footer"><small>Generated on Thu Oct 21 2010 for Soprano by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address> </body> </html>