Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2015-09-24 19:08:02 -0400
committerRyan D. Brooks2015-09-24 19:08:02 -0400
commit633cd75ddafde24d8a20bc5e3c2e0886a28c0d2d (patch)
tree2c772a82a3dbf27a761d1e26e69c7d59e48db6e1 /plugins/org.eclipse.osee.framework.resource.management/src
parent4786f18e245ea19f007c9b1d583f78de92e14827 (diff)
downloadorg.eclipse.osee-633cd75ddafde24d8a20bc5e3c2e0886a28c0d2d.tar.gz
org.eclipse.osee-633cd75ddafde24d8a20bc5e3c2e0886a28c0d2d.tar.xz
org.eclipse.osee-633cd75ddafde24d8a20bc5e3c2e0886a28c0d2d.zip
refinement: Improve reporting of binary attribute save failures
Diffstat (limited to 'plugins/org.eclipse.osee.framework.resource.management/src')
-rw-r--r--plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/util/OptionsProcessor.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/util/OptionsProcessor.java b/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/util/OptionsProcessor.java
index c36d1b8971..68764cf96a 100644
--- a/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/util/OptionsProcessor.java
+++ b/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/util/OptionsProcessor.java
@@ -82,7 +82,9 @@ public class OptionsProcessor {
}
File parent = storageFile.getParentFile();
if (parent != null && !parent.exists()) {
- parent.mkdirs();
+ if (!parent.mkdirs()) {
+ throw new OseeCoreException("The path [%s] could not be created. Check permissions.", parent);
+ }
}
return storageFile;
}

Back to the top