error handling in c#

R

Ravikanth[MVP]

Hi

Have you put the code in try/catach, in which u r calling
c# class.

Exceptiption class is the base class for all exceptions.
When an error occurs, either the system or the currently
executing application reports it by throwing an exception
containing information about the error. Once thrown, an
exception is handled by the application or by the default
exception handler.

Check out this URL:
http://samples.gotdotnet.com/quickstart/util/srcview.aspx?
path=%2fquickstart%2fhowto%2fsamples%2fexceptions%2fthrow%
2fthrow.src

Ravikanth[MVP]
 

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

Similar Threads

Error Handling 27
Cookies during error handling 1
Best practice error handling? 12
Exception handling 2
Exception Handling 33
Error Handling in C++ 2
C api and exception handling 2
Exception handling best practices? 4

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top