search for: translateexception

Displaying 1 result from an estimated 1 matches for "translateexception".

2001 Jul 11
1
Porting MS Structured Exception Handling to Linux.
Hello all, I am trying to port some more code from windows 2000 to linux. The specific functionality I would like to port is called "Structured 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:&...