}
} catch (IOException ioe) {
throw new TestException("Endpoint unavailable after"
+ " exception in previous remote call");
}
if (dispatcher.dispatchCalled()!=2){
throw new TestException("Disaptcher was not called"
+ " after failure on previous remote call");
}
}