W3C home > Mailing lists > Public > public-media-annotation@w3.org > November 2009

Re: [mawg] Re: [mawg]Error handling in the API

From: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
Date: Wed, 18 Nov 2009 09:39:37 +1100
Message-ID: <2c0e02830911171439v46f5247hcc1bf85c8aea142b@mail.gmail.com>
To: Pierre-Antoine <pierre-antoine.champin@liris.cnrs.fr>
Cc: Chris.Poppe@ugent.be, public-media-annotation@w3.org
I don't have any personal contacts, but it could be worth asking.

Cheers,
Silvia.

On Wed, Nov 18, 2009 at 2:05 AM, Pierre-Antoine
<pierre-antoine.champin@liris.cnrs.fr> wrote:
> Le 17/11/2009 10:59, Silvia Pfeiffer a écrit :
>> Hi Chris,
>>
>> I'd refrain from anything that can interrupt a program flow. Rather,
>> there should be a error code returned (that can be ignored) and then
>> if needed that error code can be analysed and evasive action taken.
>> Throwing exceptions is a bad design for such an interface.
>>
>> BTW: do we have experienced programmers with library API design
>> experience on the list? If not, somebody from the jquery community or
>> similar could be a great addition at this stage of the process!
>
> +1, that would be great!
>
> anyone in mind? :)
>
>  pa
>
>
Received on Tuesday, 17 November 2009 22:40:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 17 November 2009 22:40:38 GMT