long progressId = -1;
String rslt = "JOB NOT DEFINED";
-
+ StringBuffer msg=new StringBuffer();
try
{
if (checkDone())
if (stats != null)
{
System.out.print(stats.getChunk());
+ msg.append(stats);
rpos = stats.getNextPosition();
}
} while (stats != null && rpos > cpos);
}
;
}
-
} while (!finished);
try
{
} catch (JobSubmissionException x)
{
- System.err.println("submission error:");
+ System.err.println("submission error with "+getServiceActionText()+" :");
x.printStackTrace();
calcMan.workerCannotRun(this);
} catch (ResultNotAvailableException x)
}
ap.paintAlignment(true);
}
+ if (msg.length()>0)
+ {
+ // TODO: stash message somewhere in annotation or alignment view.
+ // code below shows result in a text box popup
+ /* jalview.gui.CutAndPasteTransfer cap = new jalview.gui.CutAndPasteTransfer();
+ cap.setText(msg.toString());
+ jalview.gui.Desktop.addInternalFrame(cap, "Job Status for "+getServiceActionText(), 600, 400); */
+ }
}
}