From dd6f766ed86ed77f26790eb50e0073647d2cc652 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Mon, 22 Aug 2005 15:38:45 +0000 Subject: [PATCH] more diagnostics git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278528 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/taskdefs/LoadProperties.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/LoadProperties.java b/src/main/org/apache/tools/ant/taskdefs/LoadProperties.java index e4ff40546..03e0edcd7 100644 --- a/src/main/org/apache/tools/ant/taskdefs/LoadProperties.java +++ b/src/main/org/apache/tools/ant/taskdefs/LoadProperties.java @@ -156,11 +156,11 @@ public class LoadProperties extends Task { if (srcFile != null) { if (!srcFile.exists()) { - throw new BuildException("Source file does not exist."); + throw new BuildException("Source file does not exist :"+srcFile); } if (!srcFile.isFile()) { - throw new BuildException("Source file is not a file."); + throw new BuildException("Source file is not a file :"+srcFile); } try {