Exiv2
Public Member Functions | 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:
Inheritance graph
[legend]

Public Member Functions

 AnyError (const AnyError &o)
 
virtual int code () const =0 throw ()
 Return the error code. More...
 

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, exifdata.cpp, exifvalue.cpp, iptceasy.cpp, iptcprint.cpp, metacopy.cpp, mrwthumb.cpp, xmpparse.cpp, xmpprint.cpp, and xmpsample.cpp.

Member Function Documentation

◆ code()

virtual int Exiv2::AnyError::code ( ) const
throw (
)
pure virtual

Return the error code.

Implemented in Exiv2::BasicError< charT >.


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