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