What's the best way to find out which exceptions may be thrown ?

wjoe invalid at example.com
Wed Jun 3 09:29:43 UTC 2020


On Wednesday, 3 June 2020 at 07:19:45 UTC, Luis wrote:
> On Wednesday, 27 May 2020 at 10:30:36 UTC, wjoe wrote:
>>
>> Could you please elaborate why checked exceptions are more 
>> annoying?
>>
>
>
> Have like 3 functions : A calls B, B calls C .
> [...]
>
> I work daily with Java, and it's pretty annoying. That the IDE 
> helps you auto putting the throws or suggesting a try/catch, 
> helps. But we ended making some generic exceptions 
> RuntimeExceptions to avoiding the noise and problems that could 
> give checked exceptions.

I was thinking about IDE assistance, too, but after reading the 
interview with Anders Hejlsberg mentioning the ballooning problem 
- I can see how checked exceptions can get out of control.


More information about the Digitalmars-d-learn mailing list