-
- All Implemented Interfaces:
-
java.io.Serializable
public final class ApiException extends IOException
Api request exception. Thrown when completing an api request fails.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classApiException.Companion
-
Field Summary
Fields Modifier and Type Field Description private final IntegerresponseStatusCodeprivate final StringresponseBodyprivate final Map<String, List<String>>responseHeadersprivate final Throwablecauseprivate final Stringmessage
-
Method Summary
Modifier and Type Method Description final IntegergetResponseStatusCode()final StringgetResponseBody()final Map<String, List<String>>getResponseHeaders()-
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getResponseStatusCode
final Integer getResponseStatusCode()
-
getResponseBody
final String getResponseBody()
-
getResponseHeaders
final Map<String, List<String>> getResponseHeaders()
-
-
-
-