Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 29097 invoked from network); 11 Jul 2002 02:00:36 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 11 Jul 2002 02:00:36 -0000 Received: (qmail 20728 invoked by uid 97); 11 Jul 2002 02:00:55 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 20667 invoked by uid 97); 11 Jul 2002 02:00:53 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 20647 invoked by uid 97); 11 Jul 2002 02:00:52 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 11 Jul 2002 02:00:26 -0000 Message-ID: <20020711020026.40599.qmail@icarus.apache.org> From: donaldp@apache.org To: jakarta-ant-cvs@apache.org Subject: cvs commit: jakarta-ant/src/main/org/apache/tools/ant BuildException.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N donaldp 2002/07/10 19:00:26 Modified: src/main/org/apache/tools/ant BuildException.java Log: Add jdk1.4 friendly getCause() method Revision Changes Path 1.16 +10 -0 jakarta-ant/src/main/org/apache/tools/ant/BuildException.java Index: BuildException.java =================================================================== RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/BuildException.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- BuildException.java 30 Apr 2002 14:20:16 -0000 1.15 +++ BuildException.java 11 Jul 2002 02:00:26 -0000 1.16 @@ -166,6 +166,16 @@ } /** + * Returns the nested exception, if any. + * + * @return the nested exception, or null if no + * exception is associated with this one + */ + public Throwable getCause() { + return getException(); + } + + /** * Returns the location of the error and the error message. * * @return the location of the error and the error message -- To unsubscribe, e-mail: For additional commands, e-mail: