PDA

View Full Version : what is Exception in java ?



penrix
07-04-2016, 12:55 AM
what is Exception in java ?

Shivangi Panwar
07-04-2016, 12:57 AM
The exception is used for exceptional condition that user's program should catch.

pxljobs
08-02-2016, 09:18 PM
Exception is the problem arise during the execution of the program exception occur normal flow of the program it disrupted program terminates abnormally so it will harmful to the program so must we can handle this exception.

medishanaik
08-03-2016, 12:16 AM
What pxljobs say is right. and Exception in java is a event.

Thoughtgrid
09-16-2016, 03:02 AM
Generally exceptions are event occurs during execution of the program in java exception is an object wrap an error event occur within a method the main uses of exception are separate error handling code from regular code,standardize error handling.

jeffronald19
12-28-2016, 09:51 PM
Exceptions are events that occur during the execution of programs that disrupt the normal flow of instructions (e.g. divide by zero, array access out of bound, etc.). In Java, an exception is an object that wraps an error event that occurred within a method and contains: Information about the error including its type.

damponting44
01-12-2017, 12:32 AM
Exceptions are events that occur during the execution of programs that disrupt the normal flow of instructions (e.g. divide by zero, array access out of bound, etc.). In Java, an exception is an object that wraps an error event that occurred within a method and contains: Information about the error including its type.

aceamerican
02-06-2017, 05:04 AM
Exceptions are the customary way in Java to indicate to a calling method that an abnormal condition has occurred.