Beispiel #1
0
 void closeClient(AbstractClient c) {
   try {
     if (c != null) {
       try {
         c.close();
       } catch (IOException ex) {
         System.err.println("Error upon closing of client: " + ex);
       }
     }
   } catch (Exception ex) {
     System.err.println("unknown exception: " + ex);
   }
 }