HOping someone could tell if execution i catch statement blocks remain synchronised, as in the following code? synchronise (object) { try {
//do something
} catch (Exception1 e1) { //do soemthing here //is it still synchronised
} catch (Exception1 e1) { //do soemthing here //is it still synchronised
} }
Would be gratefull if you could also point me to an official source that clarifies this. Also, are ther any general issues, best practices etc.. to conisder in the above code example?? Thanks, Richard Walter
Maciej Kolodziej
Greenhorn
Joined: Feb 11, 2002
Posts: 26
posted
0
Hi, Everything inside synchronized block is synchronized and so are the catch statements.
I am closing this discussion. Please refer to this duplicate thread for answers and continued conversation. [ February 15, 2002: Message edited by: Ajith Kallambella ]
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).