I am asking because if it is not, it can be abused as synchronizations mechanism. I am asking about Java.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not sure what you mean by “can be abused as synchronizations mechanism” – that doesn’t make sense.
Exceptions are per thread – when an exception is thrown, the current thread’s execution jumps to the place where the exception is caught. If it’s not caught at all, the thread dies. Other threads are not affected.