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 Plain View
Avro >> mail # user >> Design decision question about the Avro Java API


+
Francis Galiegue 2013-02-27, 04:02
+
Doug Cutting 2013-02-27, 18:09
+
Francis Galiegue 2013-02-27, 18:17
+
Tatu Saloranta 2013-02-27, 18:34
Copy link to this message
-
Re: Design decision question about the Avro Java API
On Wed, Feb 27, 2013 at 7:34 PM, Tatu Saloranta <[EMAIL PROTECTED]> wrote:
[...]
>>
>> Well, to have user code be aware that it can fail, for one ;)
>
> Unchecked exceptions are no uncatchable exceptions, so you can catch
> them as well as checked ones can't you?
>

Sure, but this is not good practice for one, and it can lead to very
nasty surprises when it fails -- in production, otherwise it's not
funny ;)

I catch it right now, but I'd rather my IDE tells me that "hey, it can
fail here, deal with that" -- and I do.

--
Francis Galiegue, [EMAIL PROTECTED]
JSON Schema in Java: http://json-schema-validator.herokuapp.com
+
Tatu Saloranta 2013-02-27, 19:00
+
Doug Cutting 2013-02-27, 18:45
+
Francis Galiegue 2013-02-27, 18:47
+
Doug Cutting 2013-02-27, 19:02
+
Eric Sammer 2013-03-04, 08:16
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