public enum ExitCode extends Enum<ExitCode>
| Enum Constant and Description |
|---|
ERROR
General error.
|
INCOMPATIBLE_VM
Incompatible Java VM.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getReturnCode() |
static ExitCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExitCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExitCode ERROR
public static final ExitCode INCOMPATIBLE_VM
public static ExitCode[] values()
for (ExitCode c : ExitCode.values()) System.out.println(c);
public static ExitCode 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 getReturnCode()
Copyright © 2008–2019 The Open Preservation Foundation. All rights reserved.