29 May 2016

What do you mean by Exception handling in programming language?


  • An exception is an error that occurs at run time. 
  • Run time errors are errors that cause a program to terminate abnormally. 
  • Run time errors occur while a program is running if the environment detects an operation that is impossible to carry out.
  • Most of the well known computer programming language like Java, C++ have exception handling  mechanism by which a programmer can handle run-time errors of the program. 
  • Some common exceptions are divide-by-zero or file-not-found etc.

Programming Languages
Error Types, Systematic Debugging, Exceptions

Featured Post

How to Write PHP code and HTML code within a same file

A PHP file can have both PHP code and HTML code together. Any HTML code written outside of PHP <?php //php code here… ?> Code is ig...

Popular Posts