Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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
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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB