LightWrap++
AC++wrapperfortheLightWave3DSDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
exception.h
Go to the documentation of this file.
1
#ifndef LWPP_EXCEPTION_H
2
#define LWPP_EXCEPTION_H
3
4
#include <string>
5
6
namespace
lwpp
7
{
8
class
exception
:
public
std::exception
9
{
10
std::string mDescription;
11
public
:
12
exception
(
const
std::string desc)
throw
()
13
: mDescription(desc)
14
{
15
;
16
}
17
virtual
~exception
() throw() {;}
20
virtual
const
char
*
what
()
const
throw()
21
{
22
return
mDescription.c_str();
23
}
24
};
25
26
class
MissingGlobal
:
public
exception
27
{
28
public
:
29
MissingGlobal
(
const
char
*name) :
exception
(name)
30
{}
31
};
32
}
33
34
#endif // LWPP_EXCEPTION_H
include
lwpp
exception.h
Generated on Wed Sep 19 2012 18:30:22 for LightWrap++ by
1.8.1.1