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
TaskComponentException.hpp
Go to the documentation of this file.
1
#ifndef TASK_COMPONENT_EXCEPTION_HPP
2
#define TASK_COMPONENT_EXCEPTION_HPP
3
4
#include "
HCEConstants.hpp
"
5
#include "
ComponentExceptionBase.hpp
"
6
7
namespace
HCE
8
{
9
namespace
exception
10
{
11
class
TaskComponentException
:
public
ComponentExceptionBase
12
{
13
protected
:
14
TaskWaitObjectExeptionsType
_cause
;
15
public
:
16
TaskComponentException
(
const
std::string &
what
,
TaskWaitObjectExeptionsType
cause):
ComponentExceptionBase
(what),
_cause
(cause){}
17
TaskComponentException
(
const
TaskComponentException
&exp):
18
ComponentExceptionBase
(dynamic_cast<
ComponentExceptionBase
&>(const_cast<
TaskComponentException
&>(exp))) {}
19
void
setCause
(
TaskWaitObjectExeptionsType
cause) {
_cause
= cause;}
20
const
TaskWaitObjectExeptionsType
&
getCause
() {
return
_cause
;}
21
virtual
~TaskComponentException
() throw(){}
22
};
23
}
24
}
25
26
#endif
sources
HCECSM
src
TaskComponentException.hpp
Generated on Mon Jan 13 2014 13:08:37 for HCE project C++ developers source code library by
1.8.1.2