Tagged “Error-Handling”
2 articles with this tag.
- Exceptions & try-with-resourcesDesigning and handling exceptions in Java: the Throwable hierarchy, checked vs unchecked, try-catch-finally semantics, try-with-resources and suppressed exceptions, exception translation and chaining, custom exceptions, exceptions in lambdas and CompletableFuture, logging, and API design guidelines.
- REST design & error handlingDesigning REST APIs with Spring: resources and URIs, HTTP methods, idempotency and status codes, validation, DTOs, pagination, versioning (Spring Framework 7 API versioning), idempotency keys, HATEOAS and OpenAPI docs, plus global error handling with @RestControllerAdvice and RFC 9457 Problem Details, and HTTP interface clients.