Senza usare try puoi semplicemente scrivere public static void main(String[] args) throws IOException{
Regole del Forum