public enum Error extends Enum<Error>
| Enum Constant and Description |
|---|
AL_INVALID_ENUM |
AL_INVALID_NAME |
AL_INVALID_OPERATION |
AL_INVALID_VALUE |
AL_NO_ERROR |
AL_OUT_OF_MEMORY |
| Modifier and Type | Method and Description |
|---|---|
static Error |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Error AL_NO_ERROR
public static final Error AL_INVALID_NAME
public static final Error AL_INVALID_ENUM
public static final Error AL_INVALID_VALUE
public static final Error AL_INVALID_OPERATION
public static final Error AL_OUT_OF_MEMORY
public static Error[] values()
for (Error c : Error.values()) System.out.println(c);
public static Error 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 © 2015. All rights reserved.