Login

The programs can handle errors in a fashion specified by the programmer. C provides a few ways for programmers to report and respond to errors.However, the process is quite untidy and  not  standardized.  Most  other  languages  especially  Java  and  Python  provide  very systematic  exception  handling  mechanisms.  Exceptions  are  special  conditions  including errors. When the program is provided an unacceptable input or a function is passed with an unacceptable parameter or the file specified is not found, or the disk is full, the programmer who is coding must provide some mechanism for the user to get this message and provide him the freedom to take some action corresponding to that situation. The designers provide help  to  programmers  to  handle  exceptions  by  providing  systematic  reporting  method known  as  exception  handling.  Programmers  write  the  code  to  generate exceptions  when something  unusual  and  unexpected happens  like  above  and  the  program  cannot  continue functioning  in  a  normal  fashion.  The  exception  includes  errors  but  can  also  be  used  when some  permanent  control  transfer  with  the  message  is  needed.  During  the  course  of  this module,  however,  we  will  only consider  errors  as  the  cause  for  generating  exceptions  and nothing else.
In this module, we will look at shortcomings of traditional error handling process, see how a more systaltic exception handling process is a better option in some cases and various ways in which exceptions are handled.

Course Curriculum

Exception Handling 1 00:33:00

Course Reviews

N.A

ratings
  • 5 stars0
  • 4 stars0
  • 3 stars0
  • 2 stars0
  • 1 stars0

No Reviews found for this course.

TAKE THIS COURSE
  • FREE
  • UNLIMITED ACCESS
0 STUDENTS ENROLLED
    All Rights Reserved to Extra Period. Powered by 
    X