public enum DownloadErrorCause extends Enum<DownloadErrorCause>
Enum Constant and Description |
---|
ILLEGAL_HTTP_RESPONSE
サーバから、無効なレスポンスを受け取りました。
|
IO_EXCEPTION
IOException が発生しました。 |
NO_BODY_IN_RESPONSE
Body が空でした。
|
UNKNOWN_ERROR
不明なエラーが発生しました。
|
Modifier and Type | Method and Description |
---|---|
static DownloadErrorCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DownloadErrorCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DownloadErrorCause ILLEGAL_HTTP_RESPONSE
public static final DownloadErrorCause NO_BODY_IN_RESPONSE
public static final DownloadErrorCause IO_EXCEPTION
IOException
が発生しました。public static final DownloadErrorCause UNKNOWN_ERROR
public static DownloadErrorCause[] values()
for (DownloadErrorCause c : DownloadErrorCause.values()) System.out.println(c);
public static DownloadErrorCause valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023. All rights reserved.