Try to raise an exception from C