zipios 2.2.0
Zipios -- a small C++ library that provides easy access to .zip files.
zipios::Exception Class Reference

Base exception of the zipios environment. More...

#include <zipiosexceptions.hpp>

Inheritance diagram for zipios::Exception:
Collaboration diagram for zipios::Exception:

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

◆ Exception()


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