Add try/catch support to byte code library
Add try_cast