Replace try-multi-catch with normal try-catch