Exiv2
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. 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, iptceasy.cpp, iptcprint.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: