Curator Handling exceptions

73 views
Skip to first unread message

evaristo...@gmail.com

unread,
Feb 9, 2013, 8:18:12 AM2/9/13
to curato...@googlegroups.com
Hi there,

Curator API always throws Exception. Have you consider providing finer grain execeptions (e.g. Interrupted, NoNodeException...) Otherwise is difficult to handle error properly in applications using ZK

Regards,

Evaristo

Jordan Zimmerman

unread,
Feb 9, 2013, 10:45:51 PM2/9/13
to curato...@googlegroups.com
Personal style. I find specialized exceptions confusing and cluttered. If I had to do it again I'd probably not use checked exceptions at all. 

====================
Jordan Zimmerman
--
You received this message because you are subscribed to the Google Groups "curator-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to curator-user...@googlegroups.com.
To post to this group, send email to curato...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/curator-users/-/iVwbnmL0o_UJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages