libpng++  v0.2.5-1
C++ library for PNG images
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
png::std_error Class Reference

Exception class to represent standard library errors (generally IO). More...

#include <error.hpp>

Inheritance diagram for png::std_error:
Collaboration diagram for png::std_error:

Public Member Functions

 std_error (std::string const &message, int error=errno)
 Constructs an std_error object. More...
 

Detailed Description

Exception class to represent standard library errors (generally IO).

See Also
reader, writer

Constructor & Destructor Documentation

png::std_error::std_error ( std::string const &  message,
int  error = errno 
)
inlineexplicit

Constructs an std_error object.

The message string is appended with ": " and the error description as returned by strerror(error).

Parameters
messageerror description
errorerror number

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