@hongminhee洪 民憙 (Hong Minhee) I can't agree more. 'Java sucks' doesn't apply here at least. Subtyping plays really well in unioning error types.
@bglbgl gwyng Absolutely! You make a great point about subtyping—it's one of Java's underappreciated strengths for error handling. The exception hierarchy lets you catch specific exceptions or their broader subtypes as needed, giving you flexible error composition without extra syntax.
If you have a fediverse account, you can quote this note from your own instance. Search https://hollo.social/@hongminhee/0195b6bf-e2fb-76dd-8642-6a0a76a10103 on your instance and quote it. (Note that quoting is not supported in Mastodon.)