Checked versus unchecked exceptions

4 views
Skip to first unread message

Bela Ban

unread,
Sep 11, 2025, 12:09:01 PMSep 11
to jgrou...@googlegroups.com
There's a discussion in jgroups-raft about $subject [1] and a PR [2] to remove checked exceptions from JChannel.
What do people think about this? Should we go from checked to unchecked exceptions in JGroups?

Note that the PR only does this for JChannel, but if we decide to do it, then more classes should be looked at, e.g. RpcDispatcher, MessageDispatcher etc

What do people think? To me this is almost a vi versus emacs discussion, largely a matter of taste. I'm leaning slighty towards unchecked exceptions, but then again checked exceptions haven't exactly caused any riots in the JGroups community over the last 27 years... :-)

Feedback, thoughts?

[1] https://github.com/jgroups-extras/jgroups-raft/issues/353
[2] https://github.com/belaban/JGroups/pull/937

--
Bela Ban | http://www.jgroups.org

Reply all
Reply to author
Forward
0 new messages