385386387388389390391392393394395
int[] timeouts = { 200, 500, 2000 }; for ( int element : timeouts ) { try { con = getConnection(); try { con.clearWarnings(); } catch ( Exception ex ) { //ignored } return con; } catch ( Exception ex ) {
397398399400401402403404405406407
} waitFor( element ); } con = getConnection(); try { con.clearWarnings(); } catch ( Exception ex ) { //ignore } return con; }
825826827828829830831832833834835
int[] timeouts = { 200, 500, 2000 }; for ( int element : timeouts ) { try { con = getConnection(); try { con.clearWarnings(); } catch ( Exception ex ) { //ignore } return con; } catch ( Exception ex ) {
837838839840841842843844845846847