@PublicApi public enum StructureErrorCategory extends Enum<StructureErrorCategory>
StructureError
,
StructureErrors
,
StructureException
Enum Constant and Description |
---|
GENERAL
Default category for general errors.
|
INTERNAL
Errors in this category mean that there was some problem with JIRA, Structure or Structure extension
internals.
|
INVALID_INPUT
Errors in this category are caused by user input, whether immediately preceding the unsuccessful
action, or entered previously.
|
NO_PERMISSION
This category contains errors that are caused by the actor not having sufficient permissions for
the action.
|
NOT_FOUND
This category contains errors that mean that the requested object is either not found, does not
exist anymore or the user does not have access to it.
|
Modifier and Type | Method and Description |
---|---|
static StructureErrorCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StructureErrorCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StructureErrorCategory GENERAL
public static final StructureErrorCategory INVALID_INPUT
public static final StructureErrorCategory NO_PERMISSION
public static final StructureErrorCategory NOT_FOUND
public static final StructureErrorCategory INTERNAL
public static StructureErrorCategory[] values()
for (StructureErrorCategory c : StructureErrorCategory.values()) System.out.println(c);
public static StructureErrorCategory 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 nullCopyright © 2024 Tempo Software. All Rights Reserved.