try{ code that might throw an IOException}catch (IOException exception){ take corrective action}
exception.printStackTrace();System.exit(1);