26th November 2011 11:32 PM | |
pabitra_nayak |
Re: what happens to exception object after exception handling? Hello friend, The exception object is the main entity to show what kind of exception is occurring in the coding. After an exception is thrown, the JVM built default exception handler catches the exception and stops the execution of the program. When we use an exception handler, it handles the exception and the program runs after that. By the object of the Exception class which is the highest priority class,the particular exception is shown whether it is an arithmetic or array index out of bounds or I/O exception. I think your doubt has been a little cleared now. Good luck |
29th September 2011 11:12 PM | |
ch.manoj |
Re: what happens to exception object after exception handling? Hello friend, The exception object is the main entity to show what kind of exception is occurring in the coding. After an exception is thrown, the JVM built default exception handler catches the exception and stops the execution of the program. When we use an exception handler, it handles the exception and the program runs after that. By the object of the Exception class which is the highest priority class,the particular exception is shown whether it is an arithmetic or array index out of bounds or I/O exception. I think your doubt has been a little cleared now. Good luck! |
12th July 2010 11:41 AM | |
sparkle |
Re: what happens to exception object after exception handling? Hello friend, The exception object is the main entity to show what kind of exception is occurring in the coding. After an exception is thrown, the JVM built default exception handler catches the exception and stops the execution of the program. When we use an exception handler, it handles the exception and the program runs after that. By the object of the Exception class which is the highest priority class,the particular exception is shown whether it is an arithmetic or array index out of bounds or I/O exception. I think your doubt has been a little cleared now. Good luck! |
27th February 2010 03:07 PM | |
Mintoo |
Re: what happens to exception object after exception handling? The thrown object must be an instance of the Exception class or a subclass of Exception....... |
3rd February 2010 11:27 AM | |
ROHIT KUNDLIYA |
Re: what happens to exception object after exception handling? Every data member inside your object should clean up its own mess. If a constructor throws an exception, the object's destructor is not run. If your object has already done something that needs to be undone (such as allocating some memory, opening a file, or locking a semaphore), this "stuff that needs to be undone" must be remembered by a data member inside the object. |
31st January 2010 10:51 PM | |
amit04051988 |
Re: what happens to exception object after exception handling? hello The catch clause resets object to the value null after correcting the exception situation. This can be done by calling a destructor which releases the memory occupied by it. best of luck |
19th December 2009 12:03 PM | |
Rosy |
Re: what happens to exception object after exception handling? The catch clause resets object to the value null after correcting the exception situation. This can be done by calling a destructor which releases the memory occupied by it. |
5th December 2009 07:20 PM | |
lad.sonu |
what happens to exception object after exception handling? what will happen to exception object after exception handling? (C++) |