WorkspaceUnknownFault,
WorkspaceEnsembleFault {
this.validateAll();
final ReportResponse_Type response;
try {
final ReportSend_Type send = new ReportSend_Type();
send.setReturnOnlyIfErrorPresent(this.responseOnlyIfError);
if (this.returnOnlyIfAll != null) {
send.setReturnOnlyIfAllAtState(this.returnOnlyIfAll);
}
final String now =
localFormat.format(Calendar.getInstance().getTime());
this.pr.debugln("Querying for report @ " + now);
response = ((WorkspaceEnsemblePortType) this.portType).report(send);
} catch (WorkspaceEnsembleFault e) {
throw e;
} catch (RemoteException e) {
throw RMIUtils.generalRemoteException(e);
}
if (response == null) {
throw new ExecutionProblem("null report response?");
}
final OneReport_Type[] reports = response.getReport();
if (reports == null) {
return EMPTY_RESPONSE;
}
final Workspace[] ret = new Workspace[reports.length];