Browse Source

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
master
Sam Ruby 25 years ago
parent
commit
a15d6eedc8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/BuildException.java

+ 1
- 1
src/main/org/apache/tools/ant/BuildException.java View File

@@ -100,7 +100,7 @@ public class BuildException extends RuntimeException {
*/
public BuildException(Exception cause) {
super();
super(cause.toString());
this.cause = cause;
}
}

Loading…
Cancel
Save