OptimisticLockException.getMessage() returns null. It would be niced to get directly the message of the wrapped StaleObjectStateException.