Welcome to MSDN Blogs Sign in | Join | Help

jaredpar's WebLog

Code, rants and ramblings of a programmer.

Syndication

News

Now Reading

Expert F#

What's a better book to read when learning F#?

Essential WPF

Thus far the best book I've read on WPF. Gets right down to working with WPF and the goals/history.

Purely Functional Data Structures

Reading this book makes me feel like I'm back in college. It will really get your mind going and is best read with a whiteboard handy.

Blog Roll

Eric Lippert
Dustin Campbell
Jon Skeet
Coding Horror
Brian McNamara
Hub FS
Full List

Browse by Tags

All Tags » Exceptions   (RSS)
NotImplementedException vs. NotSupportedException
In responding to a recent blog post , one of the readers, Jeremy Gray, noted that I was using a NotImplementedException where I should have been using a NotSupportedException .  At first I did not agree.  There was a method on an interface which Read More...

Posted Friday, December 12, 2008 8:00 AM by Jared Parsons | 5 Comments

Filed under: , ,

When can you catch a StackOverflowException?
Answer: When you're the one who threw it.  Starting with the CLR version 2.0, the policy for handling a StackOverflowException was changed.  User code can no longer handle the exception[1].  Instead the CLR will simply terminate the process.  Read More...

Posted Wednesday, October 22, 2008 8:00 AM by Jared Parsons | 0 Comments

Filed under: , ,

Custom Exceptions: When should you create them?
I think the best answer is: rarely.   It's really hard to go straight to a justification here though.  I find that answering a different question will eventually shed led on when to create a new exception. "What are the benefits of Read More...

Posted Monday, October 20, 2008 8:00 AM by Jared Parsons | 5 Comments

Page view tracker