Changes between Version 9 and Version 10 of net.sf.basedb.opengrid/using
- Timestamp:
- Jan 17, 2017, 1:47:16 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
net.sf.basedb.opengrid/using
v9 v10 131 131 // Submit the job and do not forget the error handling 132 132 CmdResult<List<JobStatus>> result = session.qsub(dc, Arrays.asList(jobDef)); 133 if (result.getExitStatus() != 0) 134 { 135 // Error handling, for example 136 throw new RuntimeException(result.getStderr()); 137 } 133 result.throwExceptionIfNonZeroExitStatus(); 138 134 139 135 // Do not forget to commit the transaction. The job will be aborted otherwise.