What are exceptions?
This blog has been quiet for a while. I am currently writing a book about localization. Me and my partner are also getting close to release of our new…
Thoughts and ideas about architecture and programming
This blog has been quiet for a while. I am currently writing a book about localization. Me and my partner are also getting close to release of our new…
I’ve just updated the API for my ADO.NET Fakes library. The library is a complete ADO.NET driver which is designed to aid you in unit testing.
I’ve been spending a lot of time lately looking into a legacy application which uses COM+, i.e. has classes that inherit ServicedComponent. In this article…
I’ve got a client which is really firm that the user should know what went wrong when exceptions are thrown. So we are displaying error messages like
I’m writing some integration tests and needed to be able to create/cleanup temp files during the test. So I’ve created a small helper for that (so that the…
I’ve written several posts about exceptions. For instance when you should catch them or how you should design them. In this post I’ll discuss when you should…
Please take a moment and think about WHY you throw exceptions.
This is an evil one, because it’s really easy to do and the compiler does not complain about it (it should be easy for the compiler to spot). The code also…
Microsoft added ApplicationException with the idea that all exceptions that you made should derive from it. Fair point, you should be able to handle your own…
MS can generate complete test classes for you that test and access all methods and properties, no matter if they are private or public. Isn’t that awesome?…