public class DownloadException extends RuntimeException
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
DownloadException.ExceptionType
Download exception type.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
EXCEPTION_FILE_SIZE_ZERO |
static int |
EXCEPTION_IO_EXCEPTION |
static int |
EXCEPTION_OTHER |
static int |
EXCEPTION_PATH_NULL |
static int |
EXCEPTION_PAUSE |
static int |
EXCEPTION_PROTOCOL |
static int |
EXCEPTION_SERVER_ERROR |
static int |
EXCEPTION_SERVER_SUPPORT_CODE |
static int |
EXCEPTION_URL_ERROR |
static int |
EXCEPTION_URL_NULL |
| 构造器和说明 |
|---|
DownloadException(int code) |
DownloadException(int code,
String message) |
DownloadException(int code,
String message,
Throwable cause) |
DownloadException(int code,
Throwable cause) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCode() |
void |
setCode(int code) |
public static final int EXCEPTION_URL_NULL
public static final int EXCEPTION_PATH_NULL
public static final int EXCEPTION_URL_ERROR
public static final int EXCEPTION_SERVER_ERROR
public static final int EXCEPTION_PROTOCOL
public static final int EXCEPTION_IO_EXCEPTION
public static final int EXCEPTION_FILE_SIZE_ZERO
public static final int EXCEPTION_PAUSE
public static final int EXCEPTION_SERVER_SUPPORT_CODE
public static final int EXCEPTION_OTHER