Le dim. 27 juin 2021 à 19:05, Torsten Curdt <tcu...@vafer.org> a écrit : >> [...] > > > I'd argue that signaling this problem should be a checked exception. > > > IMO this provides a clearer contract to the user. > > > > It doesn't. The user would have a false sense of security believing so. > > > > I guess I disagree there - and so seem the authors of the JDK.
At the time of Java 1 surely so. Today, you shouldn't bet on it. > But that's fine - I just wanted to give my 2 cents :) > I don't have enough stake anymore to keep this discussion going. This discussion happened some 15 (?) years ago for Commons Math. All were removed because they were just PITA (i.e. no believer in checked exceptions could demonstrate the slightest usefulness). I've read somewhere that Java was the only language having this duality. Right against everyone else? > > cheers, > Torsten --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org