public static function lockFailed($entity) { return new self("The optimistic lock on an entity failed.", $entity); }