Anyone who’s dealt with Spring logging hundreds of...
# getting-started
c
Anyone who’s dealt with Spring logging hundreds of lines of runtime exceptions can see what happens when you go full runtime
r
cedric: I'm curious on your perspective of how exceptions in Java are structured (hierarchically). I heard an argument once that having runtime exceptions extend from checked exceptions was the source of a lot of people's issues with exceptions in Java, and would have been better if runtime exceptions had their own hierarchy (extending directly from
Throwable
).
c
@boom I don’t have a problem with the hierarchy, the key advantage of exceptions is in 1) compiler verified error handling and 2) automatic bubbling
r
I agree with you on exceptions vs some sort of result type. I was just curious if you had any thoughts about Java's exception hierarchy specifically.
c
I’ve never had an issue with exceptions that was caused by their hierarchy
r
Fair enough. Thanks