Pol
Revision:cb584c9
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
strexcpt.h
Go to the documentation of this file.
1
7
#ifndef CLIB_STREXCPT_H
8
#define CLIB_STREXCPT_H
9
10
#include <stdexcept>
11
12
// set_terminate
13
// set_unexpected
14
// set_se_handler
15
namespace
Pol
16
{
17
namespace
Clib
18
{
19
class
structured_exception
:
public
std::runtime_error
20
{
21
public
:
22
unsigned
int
nSE
;
23
24
public
:
25
structured_exception
(
unsigned
int
n,
const
char
* text =
"Structured Exception"
)
26
: runtime_error( text ), nSE( n )
27
{
28
}
29
};
30
31
class
access_violation
:
public
structured_exception
32
{
33
public
:
// FIXME icky constant
34
access_violation
() :
structured_exception
( 5,
"Access Violation"
) {}
35
};
36
37
void
InstallOldStructuredExceptionHandler
(
void
);
38
}
39
}
40
#endif // CLIB_STREXCPT_H
Pol::Clib::structured_exception::nSE
unsigned int nSE
Definition:
strexcpt.h:22
Pol::Clib::access_violation
Definition:
strexcpt.h:31
Pol::Clib::access_violation::access_violation
access_violation()
Definition:
strexcpt.h:34
Pol::Clib::structured_exception
Definition:
strexcpt.h:19
Pol::Clib::structured_exception::structured_exception
structured_exception(unsigned int n, const char *text="Structured Exception")
Definition:
strexcpt.h:25
Pol::Clib::InstallOldStructuredExceptionHandler
void InstallOldStructuredExceptionHandler(void)
Pol
Definition:
berror.cpp:12
clib
strexcpt.h
Generated on Wed Oct 10 2018 02:41:50 for Pol by
1.8.11