public enum ReturnCode extends Enum<ReturnCode>
| Enum Constant and Description |
|---|
RC_INIT
Return code indicating an initialization error, 1.
|
RC_INVALID_CRED
Return code indicating an error reading the credentials, 6.
|
RC_INVALID_XML
Return code indicating input XML was not valid, 4.
|
RC_INVALID_XS
Return code indicating an error validating the XML, 5.
|
RC_IO
Return code indicating an error reading files, 2.
|
RC_MALFORMED_XML
Return code indicating the input XML was not well formed, 3.
|
RC_NOHOME
Return code indicating that the JAVA_HOME variable is not set within the shell script, 8.
|
RC_NOJAVA
Return code indicating that the "java" command is not executable within the shell script, 9.
|
RC_OK
Return code indicating command completed successfully, 0.
|
RC_SIG
Return code indicating indicating that signing or signature verification failed, 7.
|
RC_UNKNOWN
Return code indicating an unknown error occurred, -1.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
code
Return code value.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Gets the return code value.
|
static ReturnCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReturnCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReturnCode RC_OK
public static final ReturnCode RC_INIT
public static final ReturnCode RC_IO
public static final ReturnCode RC_MALFORMED_XML
public static final ReturnCode RC_INVALID_XML
public static final ReturnCode RC_INVALID_XS
public static final ReturnCode RC_INVALID_CRED
public static final ReturnCode RC_SIG
public static final ReturnCode RC_NOHOME
public static final ReturnCode RC_NOJAVA
public static final ReturnCode RC_UNKNOWN
public static ReturnCode[] values()
for (ReturnCode c : ReturnCode.values()) System.out.println(c);
public static ReturnCode 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 getCode()
Copyright © 2011–2016. All rights reserved.