gbadner/hibernate-core — comment on commit 23946ca6b01e499ad14856498e911df74242fb3f
File:  line 0
By scottmarlow:

Why do we have to check for PessimisticLockException.class.isInstance( e )?

Another question, should we also walk the "cause" exception chain, looking for PessimisticLockException there?