Hans Ulrich Wyss

Professional Software Development and Continuous Learning

  • Home
  • Contact
  • Books
  • Level It!

Exception

Why is “catch (Exception ex)” a problem?

15. September 2017 huwyss

Let’s consider the code below. In the try block there is a bug (null reference exception). This is then caught in the catch block and logged. Why is this catch (Exception ex) a problem? There is a bug in the try block. If the bug is just logged you are unlikely to notice there is Continue reading

fundamentals catch, Exception, try Leave a comment

Recent Posts

  • Resolutions 2019 and Review 2018
  • Intro on How to Write a Chess Engine
  • The 3 Most Important Ideas from The 10X Rule by Grant Cardone
  • How to Code Fizzbuzz Without If-Statements or Loops
  • How to Win Friends and Influence People – Dale Carnegie

Software

  • Coding Horror
  • John Papa
  • Martin Fowler
  • Mike Cohn
  • Scott Allen
  • Scott Hanselman
  • Uncle Bob

YouTube

  • Eric Wroolie
  • John Sonmez
  • Patrick Bet David
  • Rick Davidson

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Buttons

Blogverzeichnis - Bloggerei.de Hans Ulrich Wyss - Blog Directory OnToplist.com
H.U. Wyss about Professional Software Development and Continuous Learning. All rights reserved. Unite Theme powered by WordPress.