Skip to content

Instantly share code, notes, and snippets.

@0017031
0017031 / DirectoryException.cpp
Created August 24, 2016 11:22 — forked from colltoaction/DirectoryException.cpp
A simple C++ class that reads files in a directory, and also works as an example of RAII.
#include "DirectoryException.h"
DirectoryException::DirectoryException(const std::string& what_arg)
: std::logic_error(what_arg) {
}