You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@multitask.com.au on 2002/06/22 11:54:50 UTC

[io] throws Exception?

The APIs in [io] most declare 'throws Exception'. This just makes it plain 
hard to debug errors such as NullPointers etc and makes the API hard to 
use in an application.

I'd like to change the API so that they declare they throw the actual 
exceptions that occur in the code?

Does anyone have a problem with it?
--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [io] throws Exception?

Posted by Henri Yandell <ba...@generationjava.com>.
Ugh :) +1 for removing them from me.

Scott?

On Sat, 22 Jun 2002 dion@multitask.com.au wrote:

> The APIs in [io] most declare 'throws Exception'. This just makes it plain
> hard to debug errors such as NullPointers etc and makes the API hard to
> use in an application.
>
> I'd like to change the API so that they declare they throw the actual
> exceptions that occur in the code?
>
> Does anyone have a problem with it?
> --
> dIon Gillard, Multitask Consulting
> Work:      http://www.multitask.com.au
> Developers: http://adslgateway.multitask.com.au/developers
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>