}
if (Thread.currentThread().isInterrupted()) {
callback.cancelled();
return;
}
WsObjectClassInfoReturn rawClasses = getObjectClassesImpl(searchParams, provider);
giveReturnedClassesToCallback(rawClasses, callback);
} catch (RemoteException ex) {
callback.caught(convert(ex));
} catch (IntegrationServerException ex) {
callback.caught(new IntegrationServerException("Server exception: " + ex.getMessage(), ex));