public enum GlossaryAuthorErrorCode extends Enum<GlossaryAuthorErrorCode> implements ExceptionMessageSet
The 5 fields in the enum are:
| 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.
|
static GlossaryAuthorErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GlossaryAuthorErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GlossaryAuthorErrorCode GET_BREADCRUMBS_TERM_NOT_IN_GLOSSARY
public static final GlossaryAuthorErrorCode GET_BREADCRUMBS_TERM_NOT_IN_ROOT_CATEGORY
public static final GlossaryAuthorErrorCode GET_BREADCRUMBS_TERM_NOT_IN_LEAF_CATEGORY
public static final GlossaryAuthorErrorCode GET_BREADCRUMBS_ROOT_CATEGORY_NOT_ROOT
public static final GlossaryAuthorErrorCode GET_BREADCRUMBS_ROOT_CATEGORY_NOT_GLOSSARY
public static GlossaryAuthorErrorCode[] values()
for (GlossaryAuthorErrorCode c : GlossaryAuthorErrorCode.values()) System.out.println(c);
public static GlossaryAuthorErrorCode 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.Copyright © 2018–2020 ODPi. All rights reserved.