Java 7 exception removal