Package com.aliucord
Class Http.HttpException
-
- All Implemented Interfaces:
-
java.io.Serializable
public class Http.HttpException extends IOException
-
-
Field Summary
Fields Modifier and Type Field Description public final URL
url
public final String
method
public final int
statusCode
public final String
statusMessage
public final Http.Request
req
public final Http.Response
res
public String
message
-
Constructor Summary
Constructors Constructor Description Http.HttpException(Http.Request req, Http.Response res)
Creates a new HttpException for the specified Request and Response
-
Method Summary
Modifier and Type Method Description String
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
Http.HttpException
Http.HttpException(Http.Request req, Http.Response res)
Creates a new HttpException for the specified Request and Response
-
-
Method Detail
-
getMessage
@NonNull() String getMessage()
-
-
-
-