public final class DownloadFailureException extends RuntimeException
| Constructor and Description |
|---|
DownloadFailureException(int statusCode,
String statusLine)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHttpCode() |
String |
getMessage() |
String |
getStatusLine() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DownloadFailureException(int statusCode,
String statusLine)
statusCode - HTTP codestatusLine - status linepublic int getHttpCode()
public String getStatusLine()
public String getMessage()
getMessage in class ThrowableCopyright © 2009–2023 Open-Source. All rights reserved.