Remove Java7 exception call