blob: e829b96ece04d89ac1fea30c51271cbbaf4537f8 [file] [log] [blame]
<html devsite="true">
<head>
<title>GestureCancellationException</title>
{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %}
{% include "_shared/_reference-head-tags.html" %}
</head>
<body>
<h1>GestureCancellationException</h1>
<p>
<pre>public final class GestureCancellationException</pre>
</p>
<hr>
<p>A gesture was canceled and cannot continue, likely because another gesture has taken over the pointer input stream.</p>
<h2>Summary</h2>
<div class="devsite-table-wrapper">
<table class="responsive">
<thead>
<tr>
<th colspan="2"><h3>Public constructors</h3></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<div><code><a href="/reference/androidx/compose/foundation/gestures/GestureCancellationException.html#GestureCancellationException(kotlin.String)">GestureCancellationException</a>(<a href="https://developer.android.com/reference/java/lang/String.html">String</a>&nbsp;message)</code></div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive" id="inhmethods">
<thead>
<tr>
<th colspan="2"><h3>Inherited methods</h3></th>
</tr>
</thead>
<tbody>
<tr>
<td><devsite-expandable><span class="expand-control">From class <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a></span>
<div class="devsite-table-wrapper">
<table class="responsive">
<tbody>
<tr>
<td width="40%"><code>final void</code></td>
<td>
<div><code><a href="https://developer.android.com/reference/java/lang/Throwable.html#addSuppressed(kotlin.Throwable)">addSuppressed</a>(@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Throwable.html">Throwable</a>&nbsp;p0)</code></div>
</td>
</tr>
<tr>
<td width="40%"><code>@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Throwable.html">Throwable</a></code></td>
<td>
<div><code><a href="https://developer.android.com/reference/java/lang/Throwable.html#fillInStackTrace()">fillInStackTrace</a>()</code></div>
</td>
</tr>
<tr>
<td width="40%"><code>@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/String.html">String</a></code></td>
<td>
<div><code><a href="https://developer.android.com/reference/java/lang/Throwable.html#getLocalizedMessage()">getLocalizedMessage</a>()</code></div>
</td>
</tr>
<tr>
<td width="40%"><code>@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> StackTraceElement[]</code></td>
<td>
<div><code><a href="https://developer.android.com/reference/java/lang/Throwable.html#getStackTrace()">getStackTrace</a>()</code></div>
</td>
</tr>
<tr>
<td width="40%"><code>final @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> Throwable[]</code></td>
<td>
<div><code><a href="https://developer.android.com/reference/java/lang/Throwable.html#getSuppressed()">getSuppressed</a>()</code></div>
</td>
</tr>
<tr>
<td width="40%"><code>@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Throwable.html">Throwable</a></code></td>
<td>
<div><code><a href="https://developer.android.com/reference/java/lang/Throwable.html#initCause(kotlin.Throwable)">initCause</a>(@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Throwable.html">Throwable</a>&nbsp;p0)</code></div>
</td>
</tr>
<tr>
<td width="40%"><code>void</code></td>
<td>
<div><code><a href="https://developer.android.com/reference/java/lang/Throwable.html#printStackTrace()">printStackTrace</a>()</code></div>
</td>
</tr>
<tr>
<td width="40%"><code>void</code></td>
<td>
<div><code><a href="https://developer.android.com/reference/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)">printStackTrace</a>(@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/io/PrintStream.html">PrintStream</a>&nbsp;p0)</code></div>
</td>
</tr>
<tr>
<td width="40%"><code>void</code></td>
<td>
<div><code><a href="https://developer.android.com/reference/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)">printStackTrace</a>(@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/io/PrintWriter.html">PrintWriter</a>&nbsp;p0)</code></div>
</td>
</tr>
<tr>
<td width="40%"><code>void</code></td>
<td>
<div><code><a href="https://developer.android.com/reference/java/lang/Throwable.html#setStackTrace(kotlin.Array[java.lang.StackTraceElement])">setStackTrace</a>(@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> StackTraceElement[]&nbsp;p0)</code></div>
</td>
</tr>
</tbody>
</table>
</div>
</devsite-expandable> </td>
</tr>
</tbody>
</table>
</div>
<h2>Public constructors</h2>
<div><a name="GestureCancellationException-kotlin.String-"></a><a name="gesturecancellationexception"></a>
<h3 class="api-name" id="GestureCancellationException(kotlin.String)">GestureCancellationException</h3>
<pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;<a href="/reference/androidx/compose/foundation/gestures/GestureCancellationException.html#GestureCancellationException(kotlin.String)">GestureCancellationException</a>(<a href="https://developer.android.com/reference/java/lang/String.html">String</a>&nbsp;message)</pre>
</div>
</body>
</html>