>Lite</span><wbr><span><span>Exception</span></span></a></div></span></div><div><div class="title"><p class="paragraph">Throws an exception if any error occurs during the operation.</p></div></div></div></div></div></div><div class="content sourceset-dependent-content" data-togglable=":couchbase-lite/jvmCommonMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="set-document-expiration.html"><span class="token function"><strike>setDocum