123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262 |
- <html>
- <head>
- <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
- <title>com.drake.net.exception</title>
- <link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script><script type="text/javascript" src="../../scripts/sourceset_dependencies.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> </head>
- <body>
- <div id="container">
- <div id="leftColumn"><a href="../../index.html">
- <div id="logo"></div>
- </a>
- <div id="paneSearch"></div>
- <div id="sideMenu"></div>
- </div>
- <div id="main">
- <div id="leftToggler"><span class="icon-toggler"></span></div>
- <script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="Net::com.drake.net.exception////PointingToDeclaration//320833167">
- <div class="navigation-wrapper" id="navigation-wrapper">
- <div class="breadcrumbs"><a href="../../index.html">Net</a>/<a href="index.html">com.drake.net.exception</a></div>
- <div class="pull-right d-flex">
- <div id="searchBar"></div>
- </div>
- </div>
- <div class="cover ">
- <h1 class="cover"><span>Package com.</span><wbr></wbr><span>drake.</span><wbr></wbr><span>net.</span><wbr></wbr><span>exception</span></h1>
- </div>
- <div class="tabbedcontent">
- <div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Types">Types</button><button class="section-tab" data-togglable="Functions">Functions</button></div>
- <div class="tabs-section-body">
- <h2 class="">Types</h2>
- <div class="table" data-togglable="Types"><a data-name="%5Bcom.drake.net.exception%2FConvertException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="ConvertException" id="%5Bcom.drake.net.exception%2FConvertException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>
- <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
- <div class="main-subrow keyValue ">
- <div class=""><span class="inline-flex"><a href="-convert-exception/index.html">ConvertException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bcom.drake.net.exception%2FConvertException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167"></span>
- <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
- </span></span></div>
- <div>
- <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>
- <div>
- <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-convert-exception/index.html">ConvertException</a>(response: <span data-unresolved-link="okhttp3/Response///PointingToDeclaration/">Response</span>, info: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?) : <a href="-net-exception/index.html">NetException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
- </div>
- <a data-name="%5Bcom.drake.net.exception%2FConvertException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="ConvertException" id="%5Bcom.drake.net.exception%2FConvertException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="%5Bcom.drake.net.exception%2FConvertException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="ConvertException" id="%5Bcom.drake.net.exception%2FConvertException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>转换数据异常</div></div>
- </div>
- </div>
- </div>
- </div>
- <a data-name="%5Bcom.drake.net.exception%2FDownloadFileException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="DownloadFileException" id="%5Bcom.drake.net.exception%2FDownloadFileException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>
- <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
- <div class="main-subrow keyValue ">
- <div class=""><span class="inline-flex"><a href="-download-file-exception/index.html">DownloadFileException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bcom.drake.net.exception%2FDownloadFileException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167"></span>
- <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
- </span></span></div>
- <div>
- <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>
- <div>
- <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-download-file-exception/index.html">DownloadFileException</a>(response: <span data-unresolved-link="okhttp3/Response///PointingToDeclaration/">Response</span>, info: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?) : <a href="-net-exception/index.html">NetException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
- </div>
- <a data-name="%5Bcom.drake.net.exception%2FDownloadFileException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="DownloadFileException" id="%5Bcom.drake.net.exception%2FDownloadFileException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="%5Bcom.drake.net.exception%2FDownloadFileException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="DownloadFileException" id="%5Bcom.drake.net.exception%2FDownloadFileException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>下载文件异常</div></div>
- </div>
- </div>
- </div>
- </div>
- <a data-name="%5Bcom.drake.net.exception%2FNetCancellationException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="NetCancellationException" id="%5Bcom.drake.net.exception%2FNetCancellationException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>
- <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
- <div class="main-subrow keyValue ">
- <div class=""><span class="inline-flex"><a href="-net-cancellation-exception/index.html">NetCancellationException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bcom.drake.net.exception%2FNetCancellationException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167"></span>
- <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
- </span></span></div>
- <div>
- <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>
- <div>
- <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-net-cancellation-exception/index.html">NetCancellationException</a>(coroutineScope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?) : <a href="https://developer.android.com/reference/kotlin/java/util/concurrent/CancellationException.html">CancellationException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
- </div>
- <a data-name="%5Bcom.drake.net.exception%2FNetCancellationException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="NetCancellationException" id="%5Bcom.drake.net.exception%2FNetCancellationException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="%5Bcom.drake.net.exception%2FNetCancellationException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="NetCancellationException" id="%5Bcom.drake.net.exception%2FNetCancellationException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>取消网络任务的异常</div></div>
- </div>
- </div>
- </div>
- </div>
- <a data-name="%5Bcom.drake.net.exception%2FNetConnectException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="NetConnectException" id="%5Bcom.drake.net.exception%2FNetConnectException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>
- <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
- <div class="main-subrow keyValue ">
- <div class=""><span class="inline-flex"><a href="-net-connect-exception/index.html">NetConnectException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bcom.drake.net.exception%2FNetConnectException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167"></span>
- <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
- </span></span></div>
- <div>
- <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>
- <div>
- <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-net-connect-exception/index.html">NetConnectException</a>(request: <span data-unresolved-link="okhttp3/Request///PointingToDeclaration/">Request</span>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?) : <a href="-net-exception/index.html">NetException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <a data-name="%5Bcom.drake.net.exception%2FNetException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="NetException" id="%5Bcom.drake.net.exception%2FNetException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>
- <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
- <div class="main-subrow keyValue ">
- <div class=""><span class="inline-flex"><a href="-net-exception/index.html">NetException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bcom.drake.net.exception%2FNetException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167"></span>
- <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
- </span></span></div>
- <div>
- <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>
- <div>
- <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">open class <a href="-net-exception/index.html">NetException</a>(request: <span data-unresolved-link="okhttp3/Request///PointingToDeclaration/">Request</span>, info: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?) : <a href="https://developer.android.com/reference/kotlin/java/io/IOException.html">IOException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
- </div>
- <a data-name="%5Bcom.drake.net.exception%2FNetException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="NetException" id="%5Bcom.drake.net.exception%2FNetException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="%5Bcom.drake.net.exception%2FNetException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="NetException" id="%5Bcom.drake.net.exception%2FNetException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>Net网络异常</div></div>
- </div>
- </div>
- </div>
- </div>
- <a data-name="%5Bcom.drake.net.exception%2FNetSocketTimeoutException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="NetSocketTimeoutException" id="%5Bcom.drake.net.exception%2FNetSocketTimeoutException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>
- <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
- <div class="main-subrow keyValue ">
- <div class=""><span class="inline-flex"><a href="-net-socket-timeout-exception/index.html">NetSocketTimeoutException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bcom.drake.net.exception%2FNetSocketTimeoutException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167"></span>
- <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
- </span></span></div>
- <div>
- <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>
- <div>
- <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-net-socket-timeout-exception/index.html">NetSocketTimeoutException</a>(request: <span data-unresolved-link="okhttp3/Request///PointingToDeclaration/">Request</span>, info: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?) : <a href="-net-exception/index.html">NetException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <a data-name="%5Bcom.drake.net.exception%2FNetUnknownHostException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="NetUnknownHostException" id="%5Bcom.drake.net.exception%2FNetUnknownHostException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>
- <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
- <div class="main-subrow keyValue ">
- <div class=""><span class="inline-flex"><a href="-net-unknown-host-exception/index.html">NetUnknownHostException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bcom.drake.net.exception%2FNetUnknownHostException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167"></span>
- <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
- </span></span></div>
- <div>
- <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>
- <div>
- <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-net-unknown-host-exception/index.html">NetUnknownHostException</a>(request: <span data-unresolved-link="okhttp3/Request///PointingToDeclaration/">Request</span>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?) : <a href="-net-exception/index.html">NetException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <a data-name="%5Bcom.drake.net.exception%2FNoCacheException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="NoCacheException" id="%5Bcom.drake.net.exception%2FNoCacheException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>
- <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
- <div class="main-subrow keyValue ">
- <div class=""><span class="inline-flex"><a href="-no-cache-exception/index.html">NoCacheException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bcom.drake.net.exception%2FNoCacheException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167"></span>
- <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
- </span></span></div>
- <div>
- <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>
- <div>
- <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-no-cache-exception/index.html">NoCacheException</a>(request: <span data-unresolved-link="okhttp3/Request///PointingToDeclaration/">Request</span>, info: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?) : <a href="-net-exception/index.html">NetException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <a data-name="%5Bcom.drake.net.exception%2FRequestParamsException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="RequestParamsException" id="%5Bcom.drake.net.exception%2FRequestParamsException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>
- <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
- <div class="main-subrow keyValue ">
- <div class=""><span class="inline-flex"><a href="-request-params-exception/index.html">RequestParamsException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bcom.drake.net.exception%2FRequestParamsException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167"></span>
- <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
- </span></span></div>
- <div>
- <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>
- <div>
- <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-request-params-exception/index.html">RequestParamsException</a>(response: <span data-unresolved-link="okhttp3/Response///PointingToDeclaration/">Response</span>) : <a href="-net-exception/index.html">NetException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
- </div>
- <a data-name="%5Bcom.drake.net.exception%2FRequestParamsException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="RequestParamsException" id="%5Bcom.drake.net.exception%2FRequestParamsException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="%5Bcom.drake.net.exception%2FRequestParamsException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="RequestParamsException" id="%5Bcom.drake.net.exception%2FRequestParamsException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>400 - 499 客户端请求异常</div></div>
- </div>
- </div>
- </div>
- </div>
- <a data-name="%5Bcom.drake.net.exception%2FResponseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="ResponseException" id="%5Bcom.drake.net.exception%2FResponseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>
- <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
- <div class="main-subrow keyValue ">
- <div class=""><span class="inline-flex"><a href="-response-exception/index.html">ResponseException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bcom.drake.net.exception%2FResponseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167"></span>
- <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
- </span></span></div>
- <div>
- <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>
- <div>
- <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-response-exception/index.html">ResponseException</a>(response: <span data-unresolved-link="okhttp3/Response///PointingToDeclaration/">Response</span>, info: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?) : <a href="-net-exception/index.html">NetException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
- </div>
- <a data-name="%5Bcom.drake.net.exception%2FResponseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="ResponseException" id="%5Bcom.drake.net.exception%2FResponseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="%5Bcom.drake.net.exception%2FResponseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="ResponseException" id="%5Bcom.drake.net.exception%2FResponseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>如果返回200但是返回数据不符合业务要求可以抛出该异常</div></div>
- </div>
- </div>
- </div>
- </div>
- <a data-name="%5Bcom.drake.net.exception%2FServerResponseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="ServerResponseException" id="%5Bcom.drake.net.exception%2FServerResponseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>
- <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
- <div class="main-subrow keyValue ">
- <div class=""><span class="inline-flex"><a href="-server-response-exception/index.html">ServerResponseException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bcom.drake.net.exception%2FServerResponseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167"></span>
- <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
- </span></span></div>
- <div>
- <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>
- <div>
- <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-server-response-exception/index.html">ServerResponseException</a>(response: <span data-unresolved-link="okhttp3/Response///PointingToDeclaration/">Response</span>) : <a href="-net-exception/index.html">NetException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
- </div>
- <a data-name="%5Bcom.drake.net.exception%2FServerResponseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="ServerResponseException" id="%5Bcom.drake.net.exception%2FServerResponseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="%5Bcom.drake.net.exception%2FServerResponseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="ServerResponseException" id="%5Bcom.drake.net.exception%2FServerResponseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a><div class="sample-container"><code class="" theme="idea"><pre><p class="paragraph">= 500 服务器异常</p></pre></code></div></div></div>
- </div>
- </div>
- </div>
- </div>
- <a data-name="%5Bcom.drake.net.exception%2FURLParseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="URLParseException" id="%5Bcom.drake.net.exception%2FURLParseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>
- <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
- <div class="main-subrow keyValue ">
- <div class=""><span class="inline-flex"><a href="-u-r-l-parse-exception/index.html">URLParseException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bcom.drake.net.exception%2FURLParseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167"></span>
- <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
- </span></span></div>
- <div>
- <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>
- <div>
- <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">open class <a href="-u-r-l-parse-exception/index.html">URLParseException</a>(url: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?) : <a href="https://developer.android.com/reference/kotlin/java/lang/Exception.html">Exception</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
- </div>
- <a data-name="%5Bcom.drake.net.exception%2FURLParseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="URLParseException" id="%5Bcom.drake.net.exception%2FURLParseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="%5Bcom.drake.net.exception%2FURLParseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" anchor-label="URLParseException" id="%5Bcom.drake.net.exception%2FURLParseException%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>URL地址错误</div></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <h2 class="">Functions</h2>
- <div class="table" data-togglable="Functions"><a data-name="%5Bcom.drake.net.exception%2F%2FNetCancellationException%2Fkotlinx.coroutines.CoroutineScope%23kotlin.String%3F%2FPointingToDeclaration%2F%5D%2FFunctions%2F320833167" anchor-label="NetCancellationException" id="%5Bcom.drake.net.exception%2F%2FNetCancellationException%2Fkotlinx.coroutines.CoroutineScope%23kotlin.String%3F%2FPointingToDeclaration%2F%5D%2FFunctions%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>
- <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
- <div class="main-subrow keyValue ">
- <div class=""><span class="inline-flex"><a href="-net-cancellation-exception.html">NetCancellationException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bcom.drake.net.exception%2F%2FNetCancellationException%2Fkotlinx.coroutines.CoroutineScope%23kotlin.String%3F%2FPointingToDeclaration%2F%5D%2FFunctions%2F320833167"></span>
- <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
- </span></span></div>
- <div>
- <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>
- <div>
- <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">fun <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>.<a href="-net-cancellation-exception.html">NetCancellationException</a>(message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>? = null): <a href="-net-cancellation-exception/index.html">NetCancellationException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
- </div>
- <a data-name="%5Bcom.drake.net.exception%2F%2FNetCancellationException%2Fkotlinx.coroutines.CoroutineScope%23kotlin.String%3F%2FPointingToDeclaration%2F%5D%2FFunctions%2F320833167" anchor-label="NetCancellationException" id="%5Bcom.drake.net.exception%2F%2FNetCancellationException%2Fkotlinx.coroutines.CoroutineScope%23kotlin.String%3F%2FPointingToDeclaration%2F%5D%2FFunctions%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="%5Bcom.drake.net.exception%2F%2FNetCancellationException%2Fkotlinx.coroutines.CoroutineScope%23kotlin.String%3F%2FPointingToDeclaration%2F%5D%2FFunctions%2F320833167" anchor-label="NetCancellationException" id="%5Bcom.drake.net.exception%2F%2FNetCancellationException%2Fkotlinx.coroutines.CoroutineScope%23kotlin.String%3F%2FPointingToDeclaration%2F%5D%2FFunctions%2F320833167" data-filterable-set=":net:dokkaHtml/release"></a>抛出该异常将取消作用域内所有的网络请求</div></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
- </div>
- </div>
- </body>
- </html>
|