avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis Galiegue <fgalie...@gmail.com>
Subject Re: Design decision question about the Avro Java API
Date Wed, 27 Feb 2013 18:47:33 GMT
On Wed, Feb 27, 2013 at 7:45 PM, Doug Cutting <cutting@apache.org> wrote:
> On Wed, Feb 27, 2013 at 10:17 AM, Francis Galiegue <fgaliegue@gmail.com> wrote:
>> Well, to have user code be aware that it can fail, for one ;)
>
> Nearly any API call can fail.  Perhaps we should add it to the throws
> clause of the method, so it's better documented and more folks think
> to catch it?
>

Yes, I think that would be a nice to-have -- and a warning that this
exception is unchecked, too?

-- 
Francis Galiegue, fgaliegue@gmail.com
JSON Schema in Java: http://json-schema-validator.herokuapp.com

Mime
View raw message