Skip to main content

Home/ OCG developers/ Group items tagged exceptions

Rss Feed Group items tagged

Steven van Dijk

Do NOT catch that exception! « jgauffin's coding den - 0 views

  •  
    I've recently seen one to many application where the developer try to be safe by catching exceptions all over the place. [..] Most of those catch blocks just logs the exception and rethrow it. Please do not catch that exception.
Steven van Dijk

Testing exceptions with xUnit « Hadi Hariri's Blog - 0 views

  •  
    "Testing for exceptions in unit tests can be tricky. [..] The guys that designed xUnit understood the shortcomings of testing exceptions and took a much cleaner approach."
remonkoopmans

Exception Handling Basics | DaedTech - 0 views

  •  
    A nice blog article illustrating some basic point on exception handling.
Steven van Dijk

IDisposable, Done Right - 0 views

  •  
    "Despite IDisposable having only a single method named Dispose to implement, it is commonly implemented incorrectly. After reading this blog post it should be clear how and when to implement IDisposable, as well as how to ensure that resources are properly disposed when bad things happen (also knows as exceptions)."
1 - 4 of 4
Showing 20 items per page