C++ / Java style exceptions for C.