170171172173174175176177178179180
{ long now = System.currentTimeMillis(); if ((now - startToWait) > (1000* maxWait)) { System.out.print("Timeout exceeded in getConnection(), DB not available!"); throw new OJBException(t); } else { if ((now % 1000) == 0) {