Revert "exception handling"

This reverts commit f36147ff329fd1db4a9b9c89e08c5076fd41b659.