Change try-catch to multi catch