|
From: <jue...@we...> - 2004-03-03 18:31:15
|
Good point - just added!
Juergen
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...]On Behalf
Of David Heimann
Sent: Wednesday, March 03, 2004 6:02 PM
To: spr...@li...
Subject: [Springframework-developer] No getMessage in
PropertyAccessExceptionsException
Developers,
Could you add something like
public String getMessage()
{
StringBuffer sb =3D new StringBuffer();
sb.append(this.toString());
for (Iterator it=3Dthis.exceptions.iterator();it.hasNext();)
{
PropertyAccessException pae =3D (PropertyAccessException)
it.next();
sb.append(pae.getMessage());
}
return sb.toString();
} =09
to PropertyAccessExceptionsException ? =20
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 you're looking for faster
http://search.yahoo.com
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|