1#ifndef HAVE_TOM__EXCEPTIONS_HPP
2#define HAVE_TOM__EXCEPTIONS_HPP
4#include <tom-util/defines.hpp>
12 UnknownException(
const std::string &name ) : std::runtime_error( (
"Unknown exception: ") + name ) { }
18 UnableToLoadLibrary(
const std::string &name ) : std::runtime_error( (
"Unable to load library: ") + name ) { }
23 SymbolNotFound(
const std::string &name ) : std::runtime_error( (
"Symbol not found: ") + name ) { }
29 AccessDenied(
const std::string &name ) : std::runtime_error( (
"Access denied: ") + name ) { }
47 DirectoryDoesNotExist(
const std::string &name ) : std::runtime_error( (
"Directory does not exist: ") + name ) { }
53 OutOfMemory( ) : std::runtime_error( (
"Out of memory!" )) { }
58 NotADirectory(
const std::string &name ) : std::runtime_error( (
"Not a directory: ") + name ) { }
Definition exceptions.hpp:27
Definition exceptions.hpp:45
Definition exceptions.hpp:56
Definition exceptions.hpp:51
Definition exceptions.hpp:21
Definition exceptions.hpp:33
Definition exceptions.hpp:39
Definition exceptions.hpp:16
Definition exceptions.hpp:10