job.result = (vamsas.objects.simple.Result)new JpredResult();\r
job.result.setInvalid(true);\r
job.result.setStatus("Submission " + job.jobId);\r
+ throw new Exception(job.jobId); \r
}\r
else\r
{\r
}\r
catch (Exception e)\r
{\r
+ // kill the whole job.\r
+ wsInfo.setStatus(WebserviceInfo.STATE_STOPPED_SERVERERROR);\r
if (e.getMessage().indexOf("Exception") > -1)\r
{\r
wsInfo.setStatus(j.jobnum, WebserviceInfo.STATE_STOPPED_SERVERERROR);\r