Exceptions in IConfigurationSectionHandler.Create()

  • Thread starter Thread starter Oleg Ogurok
  • Start date Start date
O

Oleg Ogurok

Hi all,

I'm writing my own custom config section handler. Since I'm parsing my
custom part of web.config in Create(), I'd like to throw some meaningful
errors if a user has made a mistake.
However, no matter what kind of exception I throw, the ASP.NET application
will always show some generic error message, such as:

"Exception in configuration section handler"


Is this by design?
Thanks.

-Oleg.
 
Did anyone ever come up for a solution to this problem. I am experiencing
the same thing and I would like users to have more information than
"Exception in configuration section handler."
Mike
 
Back
Top