Tag: error-handling
All the articles with the tag "error-handling".
-
Software design
Modern Java Error Handling: Scoped Values, Structured Concurrency and Result
Try-with-resources and multi-catch, Scoped Values for request context, structured concurrency with the Java 25 API, the Result type, CompletableFuture, and what exceptions cost.
4 min read
-
Software design
Java Exceptions: How They Work and How to Design Them
What the JVM does when an exception is thrown, checked against unchecked, the Throwable hierarchy, custom exceptions and translation, the seven deadly sins of exception handling, and a short manifesto.
5 min read