Tim Funk wrote:
Adding this to both loops may be helpful too: if (rootCause == rootCause.getCause()) { break; }
Throwable.getCause does return null in that case, so the loop should get out:
public Throwable getCause() { return (cause==this ? null : cause); } Rémy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]