hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
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
utils
HCECSM
src
TaskComponentException.hpp
Generated on Tue Jun 30 2015 19:42:13 for hce-node application by
1.8.1.2