From a15d6eedc866ee94cf4f47222fafee48abbecfcb Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Sun, 19 Mar 2000 01:22:23 +0000 Subject: [PATCH] Provide a reasonable message when only an exception is provided. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267635 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/BuildException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/org/apache/tools/ant/BuildException.java b/src/main/org/apache/tools/ant/BuildException.java index 05e358600..feebdf9f9 100644 --- a/src/main/org/apache/tools/ant/BuildException.java +++ b/src/main/org/apache/tools/ant/BuildException.java @@ -100,7 +100,7 @@ public class BuildException extends RuntimeException { */ public BuildException(Exception cause) { - super(); + super(cause.toString()); this.cause = cause; } }