public enum GenericHandlersErrorCode extends Enum<GenericHandlersErrorCode> implements ExceptionMessageSet
| 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 GenericHandlersErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GenericHandlersErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenericHandlersErrorCode INTEGRATOR_NOT_RETURNED
public static final GenericHandlersErrorCode BAD_INTEGRATOR_NAME
public static final GenericHandlersErrorCode ONLY_CREATOR_CAN_DELETE
public static final GenericHandlersErrorCode MULTIPLE_CONNECTIONS_FOUND
public static final GenericHandlersErrorCode MULTIPLE_ENTITIES_FOUND
public static final GenericHandlersErrorCode INVALID_BEAN_CLASS
public static final GenericHandlersErrorCode MISSING_CONVERTER_METHOD
public static final GenericHandlersErrorCode UNEXPECTED_BEAN_CLASS
public static final GenericHandlersErrorCode MISSING_METADATA_INSTANCE
public static final GenericHandlersErrorCode BAD_INSTANCE_TYPE
public static GenericHandlersErrorCode[] values()
for (GenericHandlersErrorCode c : GenericHandlersErrorCode.values()) System.out.println(c);
public static GenericHandlersErrorCode 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<GenericHandlersErrorCode>Copyright © 2018–2020 ODPi. All rights reserved.