Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Enumerations
Enumerator
Macros
sources
handler.cpp
Go to the documentation of this file.
1
#include "
handler.hpp
"
11
13
// Default constructor
14
ErrorHandler::ErrorHandler
()
15
{};
16
20
// Constructor
21
ErrorHandler::ErrorHandler
(
string
errStr,
ConfigOpts::errorType
errInt )
22
{
23
// Store full path and file name
24
errorFile
= errStr;
25
// Store reason of error
26
errorData
= errInt;
27
};
28
30
// Default destructor
31
ErrorHandler::~ErrorHandler
()
32
{};
ErrorHandler::errorFile
string errorFile
Stores the full path and file name that caused the error.
Definition:
handler.hpp:25
ErrorHandler::~ErrorHandler
~ErrorHandler()
Default destructor.
Definition:
handler.cpp:31
ErrorHandler::errorData
ConfigOpts::errorType errorData
Stores the error type code.
Definition:
handler.hpp:26
ConfigOpts::errorType
errorType
Definition:
options.hpp:121
handler.hpp
The ErrorHandler class stores an error as it occurs.
ErrorHandler::ErrorHandler
ErrorHandler()
Default constructor.
Definition:
handler.cpp:14
Generated on Sat Sep 6 2014 15:02:58 by
1.8.6