public enum ErrorType extends Enum<ErrorType> implements IEnumWithValue
| Enum Constant and Description |
|---|
CONTEXT_LOST_WEBGL
If the WebGL context is lost, this error is returned on the first call to getError.
|
INVALID_ENUM
An unacceptable value has been specified for an enumerated argument.
|
INVALID_FRAMEBUFFER_OPERATION
The currently bound framebuffer is not framebuffer complete when trying to render to or to
read from it.
|
INVALID_OPERATION
The specified command is not allowed for the current state.
|
INVALID_VALUE
A numeric argument is out of range.
|
NO_ERROR
No error has been recorded.
|
OUT_OF_MEMORY
Not enough memory is left to execute the command.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOffromValue, transformForClientpublic static final ErrorType CONTEXT_LOST_WEBGL
public static final ErrorType INVALID_ENUM
public static final ErrorType INVALID_FRAMEBUFFER_OPERATION
public static final ErrorType INVALID_OPERATION
public static final ErrorType INVALID_VALUE
public static final ErrorType NO_ERROR
public static final ErrorType OUT_OF_MEMORY
public static ErrorType[] values()
for (ErrorType c : ErrorType.values()) System.out.println(c);
public static ErrorType 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 nullpublic int value()
value in interface IEnumWithValueCopyright © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.