Updated documentation to R14
This commit is contained in:
@@ -3,12 +3,15 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
|
||||
<title>executeCatching</title>
|
||||
<link href="../../../images/logo-icon.svg" rel="icon" type="image/svg">
|
||||
<link href="../../../styles/style.css" rel="Stylesheet">
|
||||
<script type="text/javascript" src="../../../scripts/navigationLoader.js" async="async"></script>
|
||||
<script type="text/javascript" src="../../../scripts/platformContentHandler.js" async="async"></script>
|
||||
<script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script>
|
||||
<script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script>
|
||||
<link href="../../../styles/style.css" rel="Stylesheet">
|
||||
<link href="../../../styles/logo-styles.css" rel="Stylesheet">
|
||||
<link href="../../../styles/jetbrains-mono.css" rel="Stylesheet">
|
||||
<link href="../../../styles/main.css" rel="Stylesheet">
|
||||
<script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script>
|
||||
<script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script>
|
||||
<script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script>
|
||||
<script type="text/javascript" src="../../../scripts/main.js" async="async"></script>
|
||||
<script>var pathToRoot = "../../../";</script>
|
||||
</head>
|
||||
<body>
|
||||
@@ -23,22 +26,21 @@
|
||||
<div id="searchBar"></div>
|
||||
<script type="text/javascript" src="../../../scripts/pages.js"></script>
|
||||
<script type="text/javascript" src="../../../scripts/main.js"></script>
|
||||
<div id="content" pageIds="net.axay.kspigot.runnables/ChainedRunnablePart/executeCatching/#kotlin.reflect.KClass[TypeParam(bounds=[java.lang.Exception])]#kotlin.Function1[TypeParam(bounds=[java.lang.Exception]),kotlin.Unit]?/PointingToDeclaration/">
|
||||
<div id="content" pageIds="net.axay.kspigot.runnables/ChainedRunnablePart/executeCatching/#kotlin.Boolean#kotlin.Function1[TypeParam(bounds=[java.lang.Exception]),kotlin.Unit]?/PointingToDeclaration//-1614831900">
|
||||
<div class="breadcrumbs"><a href="../../index.html">KSpigot</a>/<a href="../index.html">net.axay.kspigot.runnables</a>/<a href="index.html">ChainedRunnablePart</a>/<a href="execute-catching.html">executeCatching</a></div>
|
||||
<div class="cover ">
|
||||
<h1 class="cover"><a data-name="executecatching"></a><span>execute</span><wbr></wbr><span>Catching</span></h1>
|
||||
<h1 class="cover"><span>execute</span><wbr></wbr><span>Catching</span></h1>
|
||||
</div>
|
||||
<div class="divergent-group" data-filterable-current=":dokkaHtml/main" data-filterable-set=":dokkaHtml/main"><div class="brief-with-platform-tags"><div class="inner-brief-with-platform-tags"></div>
|
||||
<span class="pull-right"></span></div>
|
||||
<div class="divergent-group" data-filterable-current=":dokkaHtml/main" data-filterable-set=":dokkaHtml/main"><div class="with-platform-tags"><span class="pull-right"></span></div>
|
||||
|
||||
<div class="main-subrow">
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":dokkaHtml/main"><div class="symbol "><div class="symbol monospace">abstract fun <<a href="execute-catching.html">E</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-exception/index.html">Exception</a>> <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><<a href="execute-catching.html">E</a>>, exceptionHandler: (<a href="execute-catching.html">E</a>) -> <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 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<div>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":dokkaHtml/main"><div class="symbol monospace">inline fun <<a href="execute-catching.html">E</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-exception/index.html">Exception</a>> <a href="execute-catching.html">executeCatching</a>(exceptionSync: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, noinline exceptionHandler: (<a href="execute-catching.html">E</a>) -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>? = null)<span class="top-right-position"><span class="copy-icon"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M5 4H15V16H5V4ZM17 7H19V18V20H17H8V18H17V7Z" fill="black"/>
|
||||
</svg></span><div class="copy-popup-wrapper popup-to-left"><svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M18 9C18 14 14 18 9 18C4 18 0 14 0 9C0 4 4 0 9 0C14 0 18 4 18 9ZM14.2 6.2L12.8 4.8L7.5 10.1L5.3 7.8L3.8 9.2L7.5 13L14.2 6.2Z" fill="#4DBB5F"/>
|
||||
</svg><span>Content copied to clipboard</span></div></span></div></div></div></div>
|
||||
</svg><span>Content copied to clipboard</span></div></span></div></div></div>
|
||||
</div>
|
||||
</div>
|
||||
<p class="paragraph">Begins execution of this chained runnable, catching any exception of type <a href="execute-catching.html">E</a> and passing it to the optional <span data-unresolved-link="net.axay.kspigot.runnables/ChainedRunnablePart/exceptionHandler/#/PointingToCallableParameters(-1)/">exceptionHandler</span>.</p><h2 class="">Parameters</h2><div data-togglable="Parameters"><div class="platform-hinted WithExtraAttributes" data-platform-hinted="data-platform-hinted" data-togglable="Parameters"><div class="content sourceset-depenent-content" data-active="" data-togglable=":dokkaHtml/main"><div data-togglable="Parameters"><div class="table" data-togglable="Parameters"><div class="table-row" data-filterable-current=":dokkaHtml/main" data-filterable-set=":dokkaHtml/main"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex">exceptionSync</span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">whether the exception handler should be executed synchronously or asynchronously, defaults to <code>true</code> (Note that usage of any Spigot API functions requires it to be sync)</p></div></div></div></div></div></div></div></div></div></div></div>
|
||||
</div>
|
||||
<div class="footer"><span class="go-to-top-icon"><a href="#container"><svg width="12" height="10" viewBox="0 0 12 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M11.3337 9.66683H0.666992L6.00033 3.66683L11.3337 9.66683Z" fill="black"/>
|
||||
|
Reference in New Issue
Block a user