If there's an unhandled exception then you can handle the exception. You're obviously not doing it in the right place or else you're trying to catch the wrong type of exception.