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, and iptcprint.cpp.


The documentation for this class was generated from the following file:
Generated on Mon Mar 26 03:51:14 2007 for Exiv2 by doxygen 1.3.5