gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Nit


From: Robert Collins
Subject: Re: [Gnu-arch-users] Nit
Date: Wed, 22 Oct 2003 17:48:39 +1000

On Wed, 2003-10-22 at 14:59, Tom Lord wrote:

>       1) Reduce exceptions to something not significantly different
>            from error codes
> 
>         2) _Aren't_guaranteed_to_be_correctly_compiled_!
> 
> In other words, the only way to robustly use exceptions in the
> interface to a general-purpose Java library, other than in libraries
> that call no code other than that they themselves define, is to not
> use them at all!

Have you read that Boost exceptions paper referenced earlier in this
thread? It makes a good case that exceptions in generic components do
make sense, as long as you are clear what exception contract you are
offering.

Rob
-- 
GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]