Removed multi-catch statement to ensure support on older JDK