Allow throwing of exceptions within an exception handler

Fixes #1807 by recursively handling custom exception handlers.