Friday, March 7, 2014

Exception handling in java

Thanks to https://today.java.net/article/2006/04/04/exception-handling-antipatterns#antipatterns

Basic Exception Concepts


Creating Your Own Exceptions


Antipatterns


Log and Throw


Throwing Exception


Throwing the Kitchen Sink


Catching Exception


Destructive Wrapping


Log and Return Null


Catch and Ignore


Throw from Within Finally


Multi-Line Log Messages


Unsupported Operation Returning Null





No comments:

Post a Comment