zipios++  2.0.2
Zipios++ – a small C++ library that provides easy access to .zip files.
Public Member Functions | List of all members
zipios::Exception Class Reference

Base exception of the zipios environement. More...

#include <zipiosexceptions.hpp>

Inheritance diagram for zipios::Exception:
Inheritance graph
[legend]
Collaboration diagram for zipios::Exception:
Collaboration graph
[legend]

Public Member Functions

 Exception (std::string const &msg)
 

Detailed Description

Unfortunately, all exceptions are marked as runtime_error.

However, if we find a problem we will throw logic_error instead. So if you get a logic_error, it is an error that we assume should never occur. A runtime_error, on the other hand, is expected to happen once in a while (i.e. cannot create a file, cannot read a file, etc.)

Definition at line 57 of file zipiosexceptions.hpp.

Constructor & Destructor Documentation

zipios::Exception::Exception ( std::string const &  msg)
inline

Definition at line 60 of file zipiosexceptions.hpp.


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