Displaying 1 result from an estimated 1 matches for "se_except".
Did you mean:
__except
2001 Jul 11
1
Porting MS Structured Exception Handling to Linux.
...ructured
Exception Handling" and it works like so:
1. Define a function which based upons a signal throws an exceptoion.
For example:
void translateException(unsigned int u, EXCEPTION_POINTERS* pExp)
{
switch (u)
{
case (unsigned int)0xc0000005:
throw AccessViolationException("SE_Exception::translateException() - u ==
0xc0000005", pExp, u);
break;
default:
throw SE_Exception("SE_Exception::translateException() - default:", pExp,
u );
}
}
The idea here is that the function translates the windows "signal" to a
user defined exception object.
2. ca...