Plaristote / segvcatch

Automatically exported from code.google.com/p/segvcatch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

segvcatch

This is a crossplatform C++ library designed to convert a hardware exceptions, such as segmentation fault, or floating point errors, into a software language exceptions, which can be handled later with a try/catch construction.

Other words, it's a crossplatform structured exception handling (SEH).

For example, this code is working fine:

try
{
    *(int*) 0 = 0;
}
catch (std::exception& e)
{
    std::cerr << "Exception catched : " << e.what() << std::endl;
}

About

Automatically exported from code.google.com/p/segvcatch


Languages

Language:C 58.8%Language:C++ 32.9%Language:CMake 4.5%Language:Batchfile 2.9%Language:Shell 0.9%