use Java 7 diamond and multi-catch