Classes | Namespaces | Typedefs | Functions

error.hpp File Reference

Error class for exceptions. More...

#include "types.hpp"
#include <exception>
#include <string>
#include <iosfwd>
Include dependency graph for error.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  Exiv2::AnyError
 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...
class  Exiv2::BasicError< charT >
 Simple error class used for exceptions. An output operator is provided to print errors to a stream. More...

Namespaces

namespace  Exiv2
 

Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of the objects of this namespace.


Typedefs

typedef BasicError< char > Exiv2::Error
 Error class used for exceptions (std::string based).

Functions

template<typename charT , typename T >
std::basic_string< charT > Exiv2::toBasicString (const T &arg)
 Generalised toString function.
std::ostream & Exiv2::operator<< (std::ostream &os, const AnyError &error)
 AnyError output operator
const char * Exiv2::errMsg (int code)
 Return the error message for the error with code code.

Detailed Description

Error class for exceptions.

Version:
Rev:
2045
Author:
Andreas Huggel (ahu) ahuggel@gmx.net
Date:
15-Jan-04, ahu: created
11-Feb-04, ahu: isolated as a component
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines