JAVA Exceptions
,What is an exception?
,Errors and Error Handling
• A running (executing) program may encounter
some problems resulting to an error.
• An Error is any unexpected result
obtained from a program during execution.
• These errors if not handled may manifest
themselves as incorrect results or behavior,
or make the program terminate abnormally .
, Errors and Error Handling
• A program that is written with ability to
mange errors when they occur is a stable
and robust program.
• Therefore a program should be
developed with abilities to manage errors
where possible.
• The programmer, should keen to prevent
errors from reaching the user.
,What is an exception?
,Errors and Error Handling
• A running (executing) program may encounter
some problems resulting to an error.
• An Error is any unexpected result
obtained from a program during execution.
• These errors if not handled may manifest
themselves as incorrect results or behavior,
or make the program terminate abnormally .
, Errors and Error Handling
• A program that is written with ability to
mange errors when they occur is a stable
and robust program.
• Therefore a program should be
developed with abilities to manage errors
where possible.
• The programmer, should keen to prevent
errors from reaching the user.