Hi all,
In case of multithreading if an exception arised in one thread what will be the state of the other threads and the thread in which the exception arised.
thanks,
raj
Hi all,
In case of multithreading if an exception arised in one thread what will be the state of the other threads and the thread in which the exception arised.
thanks,
raj
Unless the Exception causes a data object to become corrupt which is used in multiple threads (like a queue for example) Exceptions shouold noit influence other threads that the one they occur in.
The state of the other threads therefor should not change. The state of the current thread where the exception occurs depends on the kind of exception and how you handle it.