DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43
398>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43398
a>
------- Additional Comments From jkf apache.org 2007-09-16
05:22 -------
(From update of attachment 20826)
Sorry, maybe I am just stupid but why not:
while (error instanceof BuildException) {
BuildException be = (BuildException) error;
Throwable cause = be.getCause();
if (cause != null &&
cause.toString().equals(error.getMessage())) {
error = cause;
} else {
break;
}
}
BuildException.getCause() is already part of BuildException
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone
who is.
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe ant.apache.org
For additional commands, e-mail: dev-help ant.apache.org
|