What is exception | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is exception

8th Jan 2017, 10:53 AM
murali
9 Answers
+ 3
An exception (or exceptional event) is a problem that arises during the execution of a program. When an Exception occurs the normal flow of the program is disrupted and the program/Application terminates abnormally, which is not recommended, therefore, these exceptions are to be handled. An exception can occur for many different reasons. Following are some scenarios where an exception occurs. A user has entered an invalid data. A file that needs to be opened cannot be found. A network connection has been lost in the middle of communications or the JVM has run out of memory.
8th Jan 2017, 10:55 AM
murali
+ 1
a person or thing that is excluded from a general statement or does not follow a rule
12th Jan 2017, 10:10 AM
Akhil Kumar Ps
Akhil Kumar Ps - avatar
+ 1
A run time error of a Java program is known as Exception
25th Jan 2017, 5:06 PM
Amarendra
0
It disrupts the normal flow of the program's instructions.
8th Jan 2017, 11:25 AM
Aboli Nathu Jori
Aboli Nathu Jori - avatar
0
error handling
13th Jan 2017, 7:47 AM
sathish
0
Yy
16th Jan 2017, 2:49 AM
Muhamad Arief
Muhamad Arief - avatar
0
U j+jd jdi vzvg_zyx7xxhsgsysssayqqgdgxxb h guys quis w
16th Jan 2017, 2:49 AM
Muhamad Arief
Muhamad Arief - avatar
0
pengecualian
31st Jan 2017, 4:42 PM
Fantasy Yahya
Fantasy Yahya - avatar
0
exception is like a logical error or erroneous situation. ..in programming divide by zero is a situation which we must know will throw an error ..to handle it..we use this try and catch block ...
31st Jan 2017, 7:37 PM
Aditi Muke
Aditi Muke - avatar