public enum DescriptionLoadErrorCause extends Enum<DescriptionLoadErrorCause>
Enum Constant and Description |
---|
INVALID_DESCRIPTION
不正なプラグイン情報ファイルです。
|
IO_EXCEPTION
IOException が発生しました。 |
NOT_A_PLUGIN
指定されたファイルがプラグインではないか、 plugin.yml が存在しません。
|
Modifier and Type | Method and Description |
---|---|
static DescriptionLoadErrorCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DescriptionLoadErrorCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DescriptionLoadErrorCause NOT_A_PLUGIN
public static final DescriptionLoadErrorCause INVALID_DESCRIPTION
public static final DescriptionLoadErrorCause IO_EXCEPTION
IOException
が発生しました。public static DescriptionLoadErrorCause[] values()
for (DescriptionLoadErrorCause c : DescriptionLoadErrorCause.values()) System.out.println(c);
public static DescriptionLoadErrorCause 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.