Enum Class StructureErrorCategory
- All Implemented Interfaces:
Serializable,Comparable<StructureErrorCategory>,Constable
Defines categories for errors that may be reported by Structure and its extensions.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDefault category for general errors.Errors in this category mean that there was some problem with JIRA, Structure or Structure extension internals.Errors in this category are caused by user input, whether immediately preceding the unsuccessful action, or entered previously.This category contains errors that are caused by the actor not having sufficient permissions for the action.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. -
Method Summary
Modifier and TypeMethodDescriptionstatic StructureErrorCategoryReturns the enum constant of this class with the specified name.static StructureErrorCategory[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GENERAL
Default category for general errors. -
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. -
INTERNAL
Errors in this category mean that there was some problem with JIRA, Structure or Structure extension internals. The text of the error is typically not shown to the user but reported to support.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-