Package com.weebkun.utils
Class HttpErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.weebkun.utils.HttpErrorException
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
UnauthorisedException
public class HttpErrorException
extends java.lang.RuntimeException
indicates an http error was received.
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
body
java.lang.String
description
int
status
-
Constructor Summary
Constructors Constructor Description HttpErrorException(okhttp3.Response response)
-
Method Summary
-
Field Details
-
status
public int status -
description
public java.lang.String description -
body
public java.lang.String body
-
-
Constructor Details
-
HttpErrorException
public HttpErrorException(okhttp3.Response response)
-