Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 2.91 KB

exception-handling.md

File metadata and controls

36 lines (30 loc) · 2.91 KB

Bookmarks tagged [exception-handling]

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


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.


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...


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.


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...