Prevent throwing exception while handling exception