}
if (Thread.currentThread().isInterrupted()) {
callback.cancelled();
return;
}
WsClassStructureReturn raw = getStructuresImpl(searchParams, provider);
giveReturnedStructuresToCallback(raw, callback);
} catch (RemoteException ex) {
callback.caught(convert(ex));
} catch (IntegrationServerException ex) {
callback.caught(new IntegrationServerException("Server exception: " + ex.getMessage(), ex));