Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro, mail # user - Design decision question about the Avro Java API


Copy link to this message
-
Re: Design decision question about the Avro Java API
Francis Galiegue 2013-02-27, 18:47
On Wed, Feb 27, 2013 at 7:45 PM, Doug Cutting <[EMAIL PROTECTED]> wrote:
> On Wed, Feb 27, 2013 at 10:17 AM, Francis Galiegue <[EMAIL PROTECTED]> 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, [EMAIL PROTECTED]
JSON Schema in Java: http://json-schema-validator.herokuapp.com