Exiv2::AnyError Class Reference

Error 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). More...

#include <error.hpp>

Inheritance diagram for Exiv2::AnyError:

Inheritance graph
[legend]
List of all members.

Public Member Functions

Creators
virtual ~AnyError () throw ()
 Virtual destructor.
Accessors
virtual int code () const =0 throw ()
 Return the error code.

Detailed Description

Error 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).
Examples:

addmoddel.cpp, exifcomment.cpp, exifprint.cpp, iptceasy.cpp, iptcprint.cpp, and xmpsample.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Dec 31 03:58:00 2009 for Exiv2 by  doxygen 1.3.9.1