HCE project C++ developers source code library
1.1.1
HCE project developer library
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
ExceptionBase.hpp
Go to the documentation of this file.
1
#ifndef EXCEPTION_BASE_HPP
2
#define EXCEPTION_BASE_HPP
3
4
#include <Poco/Exception.h>
5
#include <Poco/SharedPtr.h>
6
#include <vector>
7
8
namespace
HCE
9
{
10
namespace
exception
11
{
12
class
ExceptionBase :
public
Poco::Exception
13
{
14
protected
:
15
std::vector<Poco::SharedPtr<ExceptionBase> >
expVector
;
16
public
:
17
ExceptionBase
(
const
std::string
what
):Poco::Exception(what) {}
18
ExceptionBase
(
const
ExceptionBase
&exp);
19
void
setInternalException
(Poco::SharedPtr<ExceptionBase> &exception)
throw
();
20
virtual
const
char
*
what
()
const
throw() {
return
Poco::Exception::what
();}
21
virtual
~ExceptionBase
() throw() {}
22
};
23
}
24
}
25
26
#endif
sources
jsonObjExtractor
src
ExceptionBase.hpp
Generated on Mon Jan 13 2014 13:08:36 for HCE project C++ developers source code library by
1.8.1.2