public enum OMAGServerInstanceErrorCode extends Enum<OMAGServerInstanceErrorCode> implements ExceptionMessageSet
| Enum Constant and Description |
|---|
BAD_SERVER_SECURITY_CONNECTION |
OMRS_NOT_AVAILABLE |
OMRS_NOT_INITIALIZED |
SERVER_NAME_NOT_AVAILABLE |
SERVER_NOT_AVAILABLE |
SERVICE_NOT_AVAILABLE |
SERVICES_NOT_SHUTDOWN |
| Modifier and Type | Method and Description |
|---|---|
ExceptionMessageDefinition |
getMessageDefinition()
Retrieve a message definition object for an exception.
|
ExceptionMessageDefinition |
getMessageDefinition(String... params)
Retrieve a message definition object for an exception.
|
String |
toString()
JSON-style toString
|
static OMAGServerInstanceErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OMAGServerInstanceErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OMAGServerInstanceErrorCode BAD_SERVER_SECURITY_CONNECTION
public static final OMAGServerInstanceErrorCode SERVICES_NOT_SHUTDOWN
public static final OMAGServerInstanceErrorCode SERVER_NOT_AVAILABLE
public static final OMAGServerInstanceErrorCode SERVICE_NOT_AVAILABLE
public static final OMAGServerInstanceErrorCode SERVER_NAME_NOT_AVAILABLE
public static final OMAGServerInstanceErrorCode OMRS_NOT_INITIALIZED
public static final OMAGServerInstanceErrorCode OMRS_NOT_AVAILABLE
public static OMAGServerInstanceErrorCode[] values()
for (OMAGServerInstanceErrorCode c : OMAGServerInstanceErrorCode.values()) System.out.println(c);
public static OMAGServerInstanceErrorCode 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 ExceptionMessageDefinition getMessageDefinition()
getMessageDefinition in interface ExceptionMessageSetpublic ExceptionMessageDefinition getMessageDefinition(String... params)
getMessageDefinition in interface ExceptionMessageSetparams - array of parameters (all strings). They are inserted into the message according to the numbering in the message text.public String toString()
toString in class Enum<OMAGServerInstanceErrorCode>Copyright © 2018–2020 ODPi. All rights reserved.