Want to solve programming problems and get paid for it? If that sounds interesting to you then contact us.
try { // connect, write, and read ... } catch (ConnectException ce) { System.out.println("You caught a ConnectException."); } catch (IOException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } finally {