uncaught exception handler does not throw exception