XLL+ Class Library (7.0)

CXlStructuredExceptionHandler Class

A handler which catches C runtime exceptions and throws C++ exceptions.

class CXlStructuredExceptionHandler


If an instance of CXlStructuredExceptionHandler exists, then any C runtime exceptions (structured exceptions) that occur will be trapped and rethrown as C++ exceptions of type CXlStructuredException. As soon as the instance goes out of scope, this translation service will cease.

To suppress the impact of all instances of CXlStructuredExceptionHandler, globally define the pre-processor definition XLP_SUPPRESS_SEH. This will cause all the instances to have no effect. This setting can be useful for debugging.


Header: xlpexcept.h

See Also

CXlStructuredExceptionHandler Methods | xlpexcept.h | C Runtime Exceptions | Exceptions