public enum ErrorCause extends Enum<ErrorCause>
Enum Constant and Description |
---|
ASSET_NOT_FOUND
プラグインは見つかりましたが、 .jar や .zip などのファイルが見つかりませんでした。
|
HOST_RESOLVE_FAILED
ホストの解決に失敗しました。
|
INVALID_CREDENTIAL
サーバに接続するための資格情報が不正です。
|
INVALID_QUERY
不正なクエリが指定されました。
|
PLUGIN_NOT_FOUND
プラグインが見つかりませんでした。
|
RESOLVER_MISMATCH
クエリに対応するリゾルバが見つかりませんでした。
|
SERVER_RESPONSE_ERROR
サーバがエラーを返しました。
|
SERVER_RESPONSE_MALFORMED
サーバが不正なレスポンスを返しました。
|
UNKNOWN_ERROR
不明なエラーが発生しました。
|
VERSION_MISMATCH
この Minecraft サーバに適合するプラグインが見つかりませんでした。
|
Modifier and Type | Method and Description |
---|---|
static ErrorCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCause RESOLVER_MISMATCH
public static final ErrorCause INVALID_QUERY
public static final ErrorCause HOST_RESOLVE_FAILED
public static final ErrorCause PLUGIN_NOT_FOUND
public static final ErrorCause VERSION_MISMATCH
public static final ErrorCause ASSET_NOT_FOUND
public static final ErrorCause SERVER_RESPONSE_MALFORMED
public static final ErrorCause SERVER_RESPONSE_ERROR
public static final ErrorCause INVALID_CREDENTIAL
public static final ErrorCause UNKNOWN_ERROR
public static ErrorCause[] values()
for (ErrorCause c : ErrorCause.values()) System.out.println(c);
public static ErrorCause 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.