Revert "use try/catch instead of SETJMP/LONGJMP"

This reverts commit 3b541a07ee292c22ed5a72b5fdee0d4e9a1b794e.