System Exception + Application Exception

Topics: Exception Handling Application Block
Jul 4, 2007 at 11:09 AM
I am trying to recreate one of the QuickStarts - ExceptionHandlingWithLoggingQuickStart. I have a business layer, I created a new excpetion and inherited it from Application Exception. The problem is when I use the configuration tool and load assembly for the exception type it does not exist. I changed the inheritance to System.Exception and it still does not appear, do I need to specify some additional attributes to the top of the exception class?

Jul 4, 2007 at 1:35 PM
Hi,

Neither a specific base class nor additional attributes should be necessary as you can see in the quick start's "business layer" exception; however they must be public.

Please make sure you're loading the right assembly, that the exceptions classes are public and that they are really missing from the dialog; unfortunately it's very easy to miss a type in the type picker.

Hope this helps,
Fernando