| | |
| | | } |
| | | } catch (Exception e) { |
| | | |
| | | println ("INFO", "Failed to establish connection "); |
| | | println ("INFO", "ERROR Failed to establish connection "); |
| | | e.printStackTrace(); |
| | | System.exit(1); |
| | | } |
| | |
| | | } |
| | | } |
| | | catch ( Exception e1 ) { |
| | | System.out.println ("E1"); |
| | | println("INFO", "ERROR during threads startup"); |
| | | e1.printStackTrace(); |
| | | } |
| | | |
| | |
| | | total_nb_mod=0; |
| | | } |
| | | } catch ( Exception e2 ) { |
| | | System.out.println("E2"); |
| | | println("INFO", "ERROR : E2"); |
| | | e2.printStackTrace(); |
| | | } |
| | | } |
| | |
| | | } |
| | | } catch (Exception ex) { |
| | | |
| | | println("INFO","THREAD " + myId + " CATCH " + ex); |
| | | println("INFO","THREAD " + myId + " ERROR " + ex); |
| | | |
| | | } |
| | | // update the total number of searchs |
| | |
| | | } |
| | | } catch (Exception e) { |
| | | |
| | | println("INFO", "Failed: expected error code 3 "); |
| | | println("INFO","THREAD " + myId + " ERROR " + e); |
| | | |
| | | e.printStackTrace(); |
| | | System.exit(1); |