application exception

  • Thread starter Thread starter Ran Y
  • Start date Start date
R

Ran Y

hello all,
we are writing a class lib dll and want to use our own new app exception.

we want them to have the same 'Message' and "InnerException' members as all
Exceptions have.

we cant override these members because they are 'read only'....

any suggestions ?
what do you do ??

thanks, Ran.
 
Use this overload of the ApplicationException constructor

ApplicationException(string, Exception

The parameters are for the message string and the inner exception.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top