/kotlin/-exception/index.html">Exception</a>&gt; <a href="execute-catching.html">executeCatching</a>(exceptionClass: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a>&lt;<a href="execute-catching.html">E</a>&gt;, exceptionHandler: (<a href="execute-catching.html">E</a>) -&gt; <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>?)<span class="top-right-position"><span class="copy-icon"><svg width="24" height="24" viewBox="0