public class HttpResponseException extends Exception
| Constructor and Description |
|---|
HttpResponseException(retrofit2.Response<?> response)
Creates a new instance of the class.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
retrofit2.Response<?> |
getResponse() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HttpResponseException(retrofit2.Response<?> response)
response - response of the requestpublic String getMessage()
getMessage in class Throwablepublic retrofit2.Response<?> getResponse()
Copyright © 2022. All rights reserved.