try{ //utasítások }catch(IOException e) { System.err.println("Kivétel törént - Hogy miért? Lásd itt: "); e.printStackTrace(); System.exit(-1); }