Bookmarks tagged [exception-handling]
Les exceptions, mauvaise solution pour la gestion des erreurs dans une application - Publicis Sapient Engineering - Engineering Done Rightclose-
https://blog.engineering.publicissapient.fr/2021/01/11/les-exceptions-mauvaise-solution-pour-la-gest...
En programmation, les exceptions représentent des anomalies auxquelles il est possible de répondre par un traitement spécifique qui sera déclenché à la
- 📆 published on: 2021-01-11
- tags: exception-handling
https://martinfowler.com/articles/replaceThrowWithNotification.html
If you're validating some data, you usually shouldn't be using exceptions to signal validation failures. Here I describe how I'd refactor such code into using the Notification pattern.
- 📆 published on: 2014-12-09
- tags: exception-handling, architecture, refactoring
https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html
The try-with-resources statement is a try statement that declares one or more resources. A resource is an object that must be closed after the program is finished with it. The try-with-resources sta...
- tags: java, exception-handling
http://www.oracle.com/technetwork/articles/java/java8-optional-2175753.html
Make your code more readable and protect it against null pointer exceptions. Code examples are present.
- tags: java, exception-handling
http://tutorials.jenkov.com/java-exception-handling/index.html
This trail (set of articles) digs deeper into exception handling in Java. The trail covers various do's and dont's of Java exception handling. It also covers a few techniques for efficient and less er...
- tags: java, exception-handling