Hmm... Suppressed Exceptions are Throwables[]
Joe Darcy
joe.darcy at oracle.com
Fri Nov 12 01:12:41 PST 2010
Joe Darcy wrote:
> Osvaldo Pinali Doederlein wrote:
>> My $0.02: getSupressed().
>>
>
> Hopefully the method name would not be misinterpreted as a command!
>
>> - It's sufficiently clear (from both the context of the containing
>> class and the return static type), so this is terse without being
>> obscure;
>> - There is a BIG precedent: we already have getCause(), not
>> getCauseException() or getCauseThrowable().
>>
>
> Good point; I'll consider this renaming.
>
FYI, this method renaming along with some other changes to Throwable is
out for review on core-libs-dev:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2010-November/005193.html
-Joe
More information about the coin-dev
mailing list