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..
 
Back
Top