public enum CommunityProfileErrorCode extends Enum<CommunityProfileErrorCode> implements ExceptionMessageSet
| Enum Constant and Description |
|---|
NO_IDENTITY_FOR_PROFILE |
NO_OTHER_IDENTITY |
OMRS_NOT_INITIALIZED |
PARSE_EVENT_ERROR |
QUALIFIED_NAME_NOT_UNIQUE |
UNABLE_TO_CREATE_CONTRIBUTION_RECORD |
UNABLE_TO_CREATE_USER_IDENTITY |
UNKNOWN_IDENTITY |
| 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 CommunityProfileErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommunityProfileErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommunityProfileErrorCode NO_OTHER_IDENTITY
public static final CommunityProfileErrorCode QUALIFIED_NAME_NOT_UNIQUE
public static final CommunityProfileErrorCode UNKNOWN_IDENTITY
public static final CommunityProfileErrorCode OMRS_NOT_INITIALIZED
public static final CommunityProfileErrorCode UNABLE_TO_CREATE_USER_IDENTITY
public static final CommunityProfileErrorCode UNABLE_TO_CREATE_CONTRIBUTION_RECORD
public static final CommunityProfileErrorCode NO_IDENTITY_FOR_PROFILE
public static final CommunityProfileErrorCode PARSE_EVENT_ERROR
public static CommunityProfileErrorCode[] values()
for (CommunityProfileErrorCode c : CommunityProfileErrorCode.values()) System.out.println(c);
public static CommunityProfileErrorCode 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<CommunityProfileErrorCode>Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.