how to continue processing even if an error occur

hi! i have a webservice that connects to different database. I want that if one webservice has an error because database is not available, other webservice be able to continue processing. Is there a way in java to just continue processing and ignore the error that occur to some part.

thanks in advance for your help.

here is my code:

Service service=new Service();

Call call = (Call) service.createCall();

String endpoint="http://localhost:8080/axis/querydb.jws";

call.setTargetEndpointAddress(new URL(endpoint));

call.setOperationName(new QName("countResult"));

int dbcnt=0;

Integer cnt=new Integer(0);

String[] dbarray=new String[]{"silms","iradfil","iradrnd","iradtravel","iradinstitution"};

for(;dbcnt<5;dbcnt++){

cnt= (Integer) call.invoke(new Object[]{new String(key),new String(dbarray[dbcnt])});

ttlcnt=ttlcnt+cnt.intValue();

}

[1593 byte] By [rinoa_fftsya] at [2007-10-2 7:35:03]
# 1
Just use a try - catch and ignore the error - I see from your prior posts you know how to use that construct.
ChuckBinga at 2007-7-16 21:16:24 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...