Checked exceptions [Re: Hijacking]

Bruno Medeiros brunodomedeiros+spam at com.gmail
Fri Aug 10 04:23:07 PDT 2007


eao197 wrote:
> On Fri, 10 Aug 2007 14:15:47 +0400, Bruno Medeiros 
> <brunodomedeiros+spam at com.gmail> wrote:
> 
>>
>> I don't see how that is disagreeing with what I said before. Note that 
>> the above doesn't hide the exception (as in, make it disappear), it 
>> gets re-thrown as an unchecked exception.
>>
> 
> Umm... I'm sorry, I thought that 'ExceptionAdapter.unchecked(fe)' simply 
> hides exception.
> 

No, it doesn't do that. And indeed it would be bad if it did.

> But initaly I was disagree with that:
> 
>>> an example of a language disadvantage has been practically nullified 
>>> by the IDE (JDT).
> 
> Easy method of incapsulating exception into unchecked one doesn't repair 
> flaw in the language design.
> 

It fixes it well enough for me. :)

-- 
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d mailing list