Hello Varadarajan,
no, we will not add any checked exception to the Lifecycle interfaces. It just does not make sense, since we cannot know, what type of exceptions might be thrown. Just adding "Exception" to expect anything is not helpful. See also Bruce Eckel's comment http://www.mindview.net/Etc/Discussions/CheckedExceptions.
In your case you might either wrap your exceptions with a RuntimeException or define your own Lifecycle interfaces using the LifecycleVisitor in 1.1 or the LifecylceManager in 1.2.
Regards,
Jörg
Hello Varadarajan,
no, we will not add any checked exception to the Lifecycle interfaces. It just does not make sense, since we cannot know, what type of exceptions might be thrown. Just adding "Exception" to expect anything is not helpful. See also Bruce Eckel's comment http://www.mindview.net/Etc/Discussions/CheckedExceptions.
In your case you might either wrap your exceptions with a RuntimeException or define your own Lifecycle interfaces using the LifecycleVisitor in 1.1 or the LifecylceManager in 1.2.
Regards,
Jörg