An exception emulation for C
exp