Exception and Exception Handling
Exception and Exception Handling
And
Exception Handling
Exception
Arithmetic Exception
DividedByZeroException
OverFlowException
NullRefereceException
IndexOutOfRengeException
InvalidCastException
ApplicationException
UserDefineException
……………..
IOException
FileNotFoundException
…………..
WebException
Exception Handling
• .NET structured exception handling is a
technique well suited to deal with runtime
exceptions.
• Exception handling is a concept which help we
can handle undefined situation .
How Exception Handling??
catch block
Exception handler
Statement that handles the exception
Finally block