Disambiguating empty catch blocks

Andrew Thompson lordpixel+core-libs-dev at mac.com
Fri Apr 16 03:02:25 UTC 2010

On Apr 14, 2010, at 6:49 AM, Bruce Chapman wrote:

>> One thing we definitely can do is to add a new constructor
>> to AssertionError, that takes a cause as an argument,
>> consistent with other exceptions.
> Yeah, that was a minor niggle - I'll check  for an RFE and get the ball started on that.

Actually, it does exist, it is just disguised as taking Object:


It you want to RFE, I guess

AssertionError(String additionalDetails, Throwable cause) 

is the missing method.

AndyT (lordpixel - the cat who walks through walls)
A little bigger on the inside

	(see you later space cowboy, you can't take the sky from me)

More information about the core-libs-dev mailing list