Sophie

Sophie

distrib > * > 2010.0 > * > by-pkgid > b36c97ff723e66f0f38bce83645c99dc > files > 194

exiv2-doc-0.18.2-1mdv2010.0.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Exiv2: Exiv2::Error Class 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.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceExiv2.html">Exiv2</a>::<a class="el" href="classExiv2_1_1Error.html">Error</a>
  </div>
</div>
<div class="contents">
<h1>Exiv2::Error Class Reference</h1><!-- doxytag: class="Exiv2::Error" --><!-- doxytag: inherits="Exiv2::AnyError" -->Simple error class used for exceptions. An output operator is provided to print errors to a stream.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;error.hpp&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for Exiv2::Error:</div>
<div class="dynsection">
<p><center><img src="classExiv2_1_1Error__inherit__graph.png" border="0" usemap="#Exiv2_1_1Error__inherit__map" alt="Inheritance graph"></center>
<map name="Exiv2_1_1Error__inherit__map">
<area shape="rect" id="node2" href="classExiv2_1_1AnyError.html" title="Error class interface. Allows the definition and use of a hierarchy of error classes..." alt="" coords="5,80,176,107"><area shape="rect" id="node4" title="STL class." alt="" coords="11,5,171,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for Exiv2::Error:</div>
<div class="dynsection">
<p><center><img src="classExiv2_1_1Error__coll__graph.png" border="0" usemap="#Exiv2_1_1Error__coll__map" alt="Collaboration graph"></center>
<map name="Exiv2_1_1Error__coll__map">
<area shape="rect" id="node2" href="classExiv2_1_1AnyError.html" title="Error class interface. Allows the definition and use of a hierarchy of error classes..." alt="" coords="15,83,185,109"><area shape="rect" id="node4" title="STL class." alt="" coords="5,5,165,32"><area shape="rect" id="node6" title="STL class." alt="" coords="236,83,367,109"><area shape="rect" id="node8" title="STL class." alt="" coords="189,5,440,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classExiv2_1_1Error-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Creators</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7eb136463081a57eb2b5334d08a30d9c"></a><!-- doxytag: member="Exiv2::Error::Error" ref="7eb136463081a57eb2b5334d08a30d9c" args="(int code)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Error.html#7eb136463081a57eb2b5334d08a30d9c">Error</a> (int code)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor taking only an error code. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="c880e4952f42cc0704c8088c4d98c87e"></a><!-- doxytag: member="Exiv2::Error::Error" ref="c880e4952f42cc0704c8088c4d98c87e" args="(int code, const A &amp;arg1)" -->
template&lt;typename A &gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Error.html#c880e4952f42cc0704c8088c4d98c87e">Error</a> (int code, const A &amp;arg1)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor taking an error code and one argument. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="43e0d40d13839c0152ee780bb0198011"></a><!-- doxytag: member="Exiv2::Error::Error" ref="43e0d40d13839c0152ee780bb0198011" args="(int code, const A &amp;arg1, const B &amp;arg2)" -->
template&lt;typename A , typename B &gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Error.html#43e0d40d13839c0152ee780bb0198011">Error</a> (int code, const A &amp;arg1, const B &amp;arg2)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor taking an error code and two arguments. <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="385973a48be3365e690c524f17260fe0"></a><!-- doxytag: member="Exiv2::Error::Error" ref="385973a48be3365e690c524f17260fe0" args="(int code, const A &amp;arg1, const B &amp;arg2, const C &amp;arg3)" -->
template&lt;typename A , typename B , typename C &gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Error.html#385973a48be3365e690c524f17260fe0">Error</a> (int code, const A &amp;arg1, const B &amp;arg2, const C &amp;arg3)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor taking an error code and three arguments. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="431faf87c48c4a1ce8d27f9cf0b3cbed"></a><!-- doxytag: member="Exiv2::Error::~Error" ref="431faf87c48c4a1ce8d27f9cf0b3cbed" args="()" -->
virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Error.html#431faf87c48c4a1ce8d27f9cf0b3cbed">~Error</a> ()  throw ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Virtual destructor. (Needed because of throw()). <br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4b20c019cdd8dad64859b23bbe8415bd"></a><!-- doxytag: member="Exiv2::Error::code" ref="4b20c019cdd8dad64859b23bbe8415bd" args="() const " -->
virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Error.html#4b20c019cdd8dad64859b23bbe8415bd">code</a> () const   throw ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the error code. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fe7383dff1695ffe00c29911b881e9bc"></a><!-- doxytag: member="Exiv2::Error::what" ref="fe7383dff1695ffe00c29911b881e9bc" args="() const " -->
virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Error.html#fe7383dff1695ffe00c29911b881e9bc">what</a> () const   throw ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the error message. The pointer returned by <a class="el" href="classExiv2_1_1Error.html#fe7383dff1695ffe00c29911b881e9bc" title="Return the error message. The pointer returned by what() is valid only as long as...">what()</a> is valid only as long as the <a class="el" href="classExiv2_1_1Error.html" title="Simple error class used for exceptions. An output operator is provided to print errors...">Error</a> object exists. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Simple error class used for exceptions. An output operator is provided to print errors to a stream. <dl compact><dt><b>Examples: </b></dt><dd>

<p>
<a class="el" href="addmoddel_8cpp-example.html#_a15">addmoddel.cpp</a>, <a class="el" href="exifprint_8cpp-example.html#_a4">exifprint.cpp</a>, <a class="el" href="iptcprint_8cpp-example.html#_a4">iptcprint.cpp</a>, and <a class="el" href="xmpsample_8cpp-example.html#_a11">xmpsample.cpp</a>.</dl><hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="error_8hpp.html">error.hpp</a><li>error.cpp</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Jun 25 15:17:55 2009 for Exiv2 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>