Throwing Exceptions

  • Thread starter Thread starter C
  • Start date Start date
C

C

Hi,

I my ASP.Net app when an error occurs I throw an Exception.

How do I get the error number from my exception object?

C
 
C said:
Hi,

I my ASP.Net app when an error occurs I throw an Exception.

How do I get the error number from my exception object?

C

If you have an error number in your "custom" exception, you need to
provide the property to retrieve it in that class..
 

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