|
From: David H. <fog...@ya...> - 2004-03-03 17:15:29
|
Developers,
Could you add something like
public String getMessage()
{
StringBuffer sb = new StringBuffer();
sb.append(this.toString());
for (Iterator it=this.exceptions.iterator();it.hasNext();)
{
PropertyAccessException pae = (PropertyAccessException)
it.next();
sb.append(pae.getMessage());
}
return sb.toString();
}
to PropertyAccessExceptionsException ?
NestedRuntimeException uses getMessage() to display its
nested exceptions and since
PropertyAccessExceptionsException does not have one, its
nested messages are not immeadiatly visible.
David Heimann
__________________________________
Do you Yahoo!?
Yahoo! Search - Find what youre looking for faster
http://search.yahoo.com
|