throw new IllegalArgumentException("MetadataStubExt cannot be null");
}
monitorCheckSubTask(monitor, Messages.getString("Retrieve.PreparingResults"));
RetrieveResult retrieveResult;
try {
IFileBasedResultAdapter result =
waitForResult(new RetrieveResultAdapter(asyncResult, metadataStubExt), metadataStubExt,
operationStats, monitor);
retrieveResult = ((RetrieveResultAdapter) result).getRetrieveResult();