# Tuesday, June 13, 2006
« Tip of the Day -- Determine current data... | Main | New web site, new technologies, and new ... »

There's a pretty useful feature (IMHO) in the .Net 2.0 Exception object which I hadn't noticed before. The Exception object contains a new Data interface, which is essentially an IDictionary for applying additional values to the exception object. I am currently using it with my integration of the new VS2005 Enterprise Library into our framework.

I want to log exceptions to a database, but I have found it useful in the past to have an Error #. In the old days (VB 6, for example) I could usually look at the error number of an application and tell exactly what the problem was. When .Net came into being, we lost the error number, and there was no easy way to get around it. You could roll your own exception classes of course and add these properties, but this is only a limited solution because other exception handlers wouldn't be capable of handling the additional features by default.

Now this feature is going to allow me to take advantage of error numbers by classifying each exception type, and appending an error number to the exception object. I can use this information in my database to classify and group errors by type to identify weak areas in an application as well. Not Earth shattering, but still a useful feature full of all kinds of possibilities.

Saturday, July 08, 2006 10:48:20 PM (GMT Daylight Time, UTC+01:00)
http://www.decent11hosing.com - Decent11HosING - Web hosting provider - domain hosting - PHP Hosting - cheap web hosting - Frontpage Hosting E-Commerce Web Hosting Decent11HosING
web hosting provider php hosting cheap web hosting, Web hosting, domain names, front page hosting, email hosting. We offer affordable hosting, web hosting provider business web hosting, ecommerce hosting, unix hosting. Phone support available, Free Domain, and Free Setup.
web hosting, provider, php hosting,web hosting, free domain names, domain name, front page hosting, web site, web design, domain name registration, business web site, web site hosting, web space, picture hosting, small business, cheap web hosting, webmaster, web site builder, web space, affordable web hosting, marketing, cgi perl php hosting, blog, blogs, blogger, weblog, web log, weblogs, web logs, internet marketing, internet advertising
Thursday, November 02, 2006 2:15:04 AM (GMT Standard Time, UTC+00:00)
Hello - I'm looking for some to redesign my site and I would like to use someone in the Phoenix metro area (found your site through globe of blogs.

Are you taking on any work?
Comments are closed.