curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imesha Sudasingha <imesha...@cse.mrt.ac.lk>
Subject Why do you throw exceptions of class Exception
Date Mon, 21 Nov 2016 07:12:41 GMT
Hi all,

I was curious on why most of the methods in *CuratorFramework* throw
exceptions of the type *Exception *which is the base class? In Zookeeper,
they have specific set of custom exceptions like ZooKeeperException and so
on. Do you have a specific reason for that?

Thanks in advance!

-Imesha

-- 
*Imesha Sudasingha*
Undergraduate of Department of Computer Science and  Engineering,
University of Moratuwa.

Mime
View raw message