Side effects of throwing an exception inside a synchronized clause? February 13, 2023 by Tarik I see no side-effect. The lock is guaranteed to be terminated in all cases, and an exception is no exception (pun intended).