Exception handler to return true if exception is handled