|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ERROR_CODE>
jnr.x86asm.ERROR_CODE
public enum ERROR_CODE
| Enum Constant Summary | |
|---|---|
_ERROR_COUNT
Count of error codes by AsmJit. |
|
ERROR_ILLEGAL_ADDRESING
Illegal addressing used (unencodable). |
|
ERROR_ILLEGAL_INSTRUCTION
Illegal instruction. |
|
ERROR_ILLEGAL_SHORT_JUMP
Short jump instruction used, but displacement is out of bounds. |
|
ERROR_NO_HEAP_MEMORY
Memory allocation error (@c ASMJIT_MALLOC returned @c NULL). |
|
ERROR_NO_VIRTUAL_MEMORY
Virtual memory allocation error (@c VirtualMemory returned @c NULL). |
|
ERROR_NONE
No error (success). |
|
ERROR_UNKNOWN_INSTRUCTION
Unknown instruction. |
|
| Method Summary | |
|---|---|
int |
intValue()
|
static ERROR_CODE |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ERROR_CODE[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ERROR_CODE ERROR_NONE
public static final ERROR_CODE ERROR_NO_HEAP_MEMORY
public static final ERROR_CODE ERROR_NO_VIRTUAL_MEMORY
public static final ERROR_CODE ERROR_UNKNOWN_INSTRUCTION
public static final ERROR_CODE ERROR_ILLEGAL_INSTRUCTION
public static final ERROR_CODE ERROR_ILLEGAL_ADDRESING
public static final ERROR_CODE ERROR_ILLEGAL_SHORT_JUMP
public static final ERROR_CODE _ERROR_COUNT
| Method Detail |
|---|
public static ERROR_CODE[] values()
for (ERROR_CODE c : ERROR_CODE.values()) System.out.println(c);
public static ERROR_CODE valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic final int intValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||