<!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::AnyError Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.4 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.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> <u>S</u>earch for </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="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="nav"> <a class="el" href="namespaceExiv2.html">Exiv2</a>::<a class="el" href="classExiv2_1_1AnyError.html">AnyError</a></div> <h1>Exiv2::AnyError Class Reference</h1><!-- doxytag: class="Exiv2::AnyError" --><!-- doxytag: inherits="std::exception" --><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> class interface. Allows the definition and use of a hierarchy of error classes which can all be handled in one catch block. Inherits from the standard exception base-class, to make life easier for library users (they have the option of catching most things via std::exception). <a href="#_details">More...</a> <p> <code>#include <error.hpp></code> <p> <div class="dynheader"> Inheritance diagram for Exiv2::AnyError:</div> <div class="dynsection"> <p><center><img src="classExiv2_1_1AnyError__inherit__graph.png" border="0" usemap="#Exiv2_1_1AnyError__inherit__map" alt="Inheritance graph"></center> <map name="Exiv2_1_1AnyError__inherit__map"> <area shape="rect" href="classExiv2_1_1Error.html" title="Simple error class used for exceptions. An output operator is provided to print errors..." alt="" coords="20,156,161,180"><area shape="rect" title="STL class." alt="" coords="11,7,171,31"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for Exiv2::AnyError:</div> <div class="dynsection"> <p><center><img src="classExiv2_1_1AnyError__coll__graph.png" border="0" usemap="#Exiv2_1_1AnyError__coll__map" alt="Collaboration graph"></center> <map name="Exiv2_1_1AnyError__coll__map"> <area shape="rect" title="STL class." alt="" coords="11,7,171,31"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classExiv2_1_1AnyError-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="86c70af7ad6f517c972dbec0fa56190c"></a><!-- doxytag: member="Exiv2::AnyError::~AnyError" ref="86c70af7ad6f517c972dbec0fa56190c" args="()" --> virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1AnyError.html#86c70af7ad6f517c972dbec0fa56190c">~AnyError</a> () throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Virtual destructor. <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="8a2233d7b05aefb467a54a6dca8d6a2e"></a><!-- doxytag: member="Exiv2::AnyError::code" ref="8a2233d7b05aefb467a54a6dca8d6a2e" args="() const =0" --> virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1AnyError.html#8a2233d7b05aefb467a54a6dca8d6a2e">code</a> () const =0 throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the error code. <br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <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> class interface. Allows the definition and use of a hierarchy of error classes which can all be handled in one catch block. Inherits from the standard exception base-class, to make life easier for library users (they have the option of catching most things via std::exception). <dl compact><dt><b>Examples: </b></dt><dd> <p> <a class="el" href="addmoddel_8cpp-example.html#_a16">addmoddel.cpp</a>, <a class="el" href="exifcomment_8cpp-example.html#_a2">exifcomment.cpp</a>, <a class="el" href="exifprint_8cpp-example.html#_a6">exifprint.cpp</a>, <a class="el" href="iptceasy_8cpp-example.html#_a4">iptceasy.cpp</a>, <a class="el" href="iptcprint_8cpp-example.html#_a6">iptcprint.cpp</a>, and <a class="el" href="xmpsample_8cpp-example.html#_a14">xmpsample.cpp</a>.</dl><hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="error_8hpp.html">error.hpp</a></ul> <hr size="1"><address style="text-align: right;"><small>Generated on Tue Feb 5 11:51:03 2008 for Exiv2 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address> </body> </html>