Luiza
v03-01
Main Page
Related Pages
Namespaces
Classes
luiza
include
luiza
Exceptions.h
1
// -*- mode: c++; mode: auto-fill; mode: flyspell-prog; -*-
2
3
#ifndef Exceptions_h
4
#define Exceptions_h 1
5
6
#include <string>
7
#include <exception>
8
9
namespace
luiza
{
10
11
13
17
class
Exception
:
public
std::exception {
18
19
20
protected
:
21
std::string message ;
22
23
Exception
(){
/*no_op*/
; }
24
25
public
:
26
virtual
~
Exception
()
throw
() {
/*no_op*/
; }
27
28
Exception
(
const
std::string& text ){
29
message =
"luiza::Exception: "
+ text ;
30
}
31
32
virtual
const
char
* what()
const
throw
() {
return
message.c_str() ; }
33
34
};
35
36
37
}
// namespace
38
39
#endif
/* ifndef Exceptions_h */
luiza
Namespace for Luiza framework.
Definition:
CCCollection.h:6
luiza::Exception
Define Exceptions class, useful for control of data processing.
Definition:
Exceptions.h:17
Generated on Fri Oct 30 2015 13:02:51 for Luiza by
1.8.9.1