Refine a part of exception catch