Commit 807c9495 authored by amccaskey's avatar amccaskey
Browse files

Setting up Joblauncher to fail more gracefully for missing files.

parent 28d35f55
......@@ -586,6 +586,8 @@ public class JobLauncher extends Item {
// all valid too
for (Entry entry : fileData.retrieveAllEntries()) {
if (entry.getValue() == null || entry.getValue().isEmpty()) {
throwErrorMessage("JobLauncher File Error", "org.eclipse.ice.item", "File Error. File Entry with (name = " + entry.getName() + ") was null or empty. "
+ "Check that the file is available in project " + project.getName() + ".");
logger.info("JobLauncher Error: All input file " + "entries must be set!");
return FormStatus.InfoError;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment