separate the block try-catch to statments try-catch, which is more precise