Exiv2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members
Exiv2::AnyError Class Referenceabstract

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:
+ Collaboration diagram for Exiv2::AnyError:

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

The documentation for this class was generated from the following files: