aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Brodski2013-09-23 09:27:18 (EDT)
committerGerrit Code Review @ Eclipse.org2013-10-01 04:50:26 (EDT)
commit77a327be3ad25339fc4130c370ca0edd4ac89c1e (patch)
tree7b72db8ddd6cea58348520c30fcc542871197a14
parent932114c3aa646b4f2531146d8584fee658ec8ad9 (diff)
downloadorg.eclipse.xtext-77a327be3ad25339fc4130c370ca0edd4ac89c1e.zip
org.eclipse.xtext-77a327be3ad25339fc4130c370ca0edd4ac89c1e.tar.gz
org.eclipse.xtext-77a327be3ad25339fc4130c370ca0edd4ac89c1e.tar.bz2
[HeadlessBuild] Improve error message for incorrect src dirrefs/changes/90/16690/3
In case the source directory specified incorrectly, the printed exception isn't sufficient, since the incorrect directory isn't included into the exception error message. Signed-off-by: Boris Brodski <brodsky_boris@yahoo.com>
-rw-r--r--plugins/org.eclipse.xtend.core/src/org/eclipse/xtend/core/compiler/batch/XtendBatchCompiler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.xtend.core/src/org/eclipse/xtend/core/compiler/batch/XtendBatchCompiler.java b/plugins/org.eclipse.xtend.core/src/org/eclipse/xtend/core/compiler/batch/XtendBatchCompiler.java
index 73bfc83..95f2e7c 100644
--- a/plugins/org.eclipse.xtend.core/src/org/eclipse/xtend/core/compiler/batch/XtendBatchCompiler.java
+++ b/plugins/org.eclipse.xtend.core/src/org/eclipse/xtend/core/compiler/batch/XtendBatchCompiler.java
@@ -637,7 +637,7 @@ public class XtendBatchCompiler {
try {
return new File(from).getCanonicalPath();
} catch (IOException e) {
- throw new WrappedException(e);
+ throw new WrappedException("Invalid source path: '" + from + "'", e);
}
}
});