throw new LockException("Transactional object is null!"); throw new LockException("Could not locate method "+method); throw new LockException(Thread.currentThread()+" could not set "+LockMode.stringForm(cachedLock._lockType)+" lock. Got: "+LockResult.stringForm(result));