List Info

Thread: DO NOT REPLY - Ant discards stack traces for random exceptions terminating a build




DO NOT REPLY - Ant discards stack traces for random exceptions terminating a build
country flaguser name
United States
2007-09-16 07:22:33
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





------- Additional Comments From jkfapache.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-unsubscribeant.apache.org
For additional commands, e-mail: dev-helpant.apache.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )