Enum Class StructureErrors
- All Implemented Interfaces:
StructureError,Serializable,Comparable<StructureErrors>,Constable
StructureErrors is a enumeration of all public Structure errors.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface StructureError
StructureError.CodeRange -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTrying to edit archived structure.The user does not have access to automation feature.Automation feature failed.An operation that implements optimistic locking to achieve consistent result failed because of too many cycles in the optimistic lock.Structure attempted to create a new item but something failed in the corresponding module.Indicates that there are additional decisions that need to be made by the user to execute the operations.The user does not have access to execute effectorsWhen a structure has "requires editable parent" flag on, and the attempted operation is under an item that the user does not have the edit access to.Generic update error for actions applied to a forest source.Non-specific error.Invalid under/after/before coordinates used to change the forest, or other parameters used to make a forest operation.Invalid parameter used (either in operation or in settings of a synchronizer or generator or other entity)Attempting to edit an item without permission.Cannot access an item because either it is missing or the user does not have access to it.The user does not have JIRA Administrators permission.The background job is not available.Problem with Structure license or extension license, which prevents operation from being executed.Internal problem with Structure locking mechanism.An extension module is throwing an exception or fails to get linked to.The user does not have Create Structure permission.The user does not have permissions to edit or archive a note.Inaccessible note.The user does not have permissions to create perspectives.Trying to do something with an issue from a project that is not enabled for Structure.The user does not have permissions to manage a saved column.Inaccessible saved column.Signature has changed and the client needs to reload the initial data before applying updates.The user does not have Control access level to the structure.The user does not have permission to configure automation in the structure.The user does not have Edit access level to the structure.Trying to access a structure that does not exist, or the user has no read access to it.Trying to change structure's owner while not being an admin.The user does not have access to Structure plugin functionality.Cannot access an attribute subscription because either it is missing or the user does not have access to it.An extension module (item type, attribute loader, etc) is expected to exist in the system but was missing.Unsupported operation onForestSource— for example, trying to make changes on a read-only source.Item update failed.The user does not have Control permission on the view.The user does not have permissions to create views.The user does not have Edit permission on the view.Inaccessible view. -
Method Summary
Modifier and TypeMethodDescriptionReturns error category.intgetCode()Returns error code.toString()static StructureErrorsReturns the enum constant of this class with the specified name.static StructureErrors[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOfMethods inherited from interface StructureError
builder, causedBy, forIssue, forItem, forRow, forStructure, forView, is, isOneOf, isOneOf, name, withLocalizedMessage, withMessage, withoutMessage
-
Enum Constant Details
-
GENERIC_ERROR
Non-specific error. The meaning can be derived only from the error message and other parameters.
Implementation note: try to avoid using it and use a specific one instead.
-
LICENSE_PROBLEM
Problem with Structure license or extension license, which prevents operation from being executed. -
LOCK_FAILED
Internal problem with Structure locking mechanism. -
INVALID_PARAMETER
Invalid parameter used (either in operation or in settings of a synchronizer or generator or other entity) -
DECISION_REQUIRED
Indicates that there are additional decisions that need to be made by the user to execute the operations. Thrown from UpdatableForestSource.update() -
FOREST_SOURCE_ACTION_FAILED
Generic update error for actions applied to a forest source. Includes generic failures caused by forest configuration and unexpected failures from trying to apply effects to items. -
UPDATE_ITEM_FAILED
Item update failed. The related item can be retrieved fromStructureException.getItem(). -
CREATE_ITEM_FAILED
Structure attempted to create a new item but something failed in the corresponding module. -
FOREST_CHANGE_PROHIBITED_BY_PARENT_PERMISSIONS
When a structure has "requires editable parent" flag on, and the attempted operation is under an item that the user does not have the edit access to. -
PROJECT_NOT_ENABLED_FOR_STRUCTURE
Trying to do something with an issue from a project that is not enabled for Structure. -
STRUCTURE_NOT_EXISTS_OR_NOT_ACCESSIBLE
Trying to access a structure that does not exist, or the user has no read access to it. -
NOT_ALLOWED_TO_CREATE_STRUCTURE
The user does not have Create Structure permission. -
STRUCTURE_ADMIN_DENIED
The user does not have Control access level to the structure. -
STRUCTURE_EDIT_DENIED
The user does not have Edit access level to the structure. -
JIRA_ADMIN_DENIED
The user does not have JIRA Administrators permission. -
STRUCTURE_PLUGIN_ACCESS_DENIED
The user does not have access to Structure plugin functionality. -
ARCHIVED_STRUCTURE_EDIT_DENIED
Trying to edit archived structure. -
STRUCTURE_OWNER_EDIT_DENIED
Trying to change structure's owner while not being an admin. -
STRUCTURE_AUTOMATION_EDIT_DENIED
The user does not have permission to configure automation in the structure. -
VIEW_NOT_EXISTS_OR_NOT_ACCESSIBLE
Inaccessible view. -
VIEW_ADMIN_DENIED
The user does not have Control permission on the view. -
VIEW_EDIT_DENIED
The user does not have Edit permission on the view. -
VIEW_CREATION_DENIED
The user does not have permissions to create views. -
PERSPECTIVE_CREATION_DENIED
The user does not have permissions to create perspectives. -
ITEM_EDIT_DENIED
Attempting to edit an item without permission. When it comes to issues, the error may be reported not only when the user does not have permissions, but when JIRA prohibits editing the issue based on workflow. -
AUTOMATION_ACCESS_DENIED
The user does not have access to automation feature. -
EFFECTOR_EXECUTION_DENIED
The user does not have access to execute effectors -
JOB_NOT_EXISTS
The background job is not available. -
ITEM_NOT_EXISTS_OR_NOT_ACCESSIBLE
Cannot access an item because either it is missing or the user does not have access to it. Specific item must be supplied viaStructureException.getItem(). -
SUBSCRIPTION_NOT_EXISTS_OR_NOT_ACCESSIBLE
Cannot access an attribute subscription because either it is missing or the user does not have access to it.- See Also:
-
INVALID_FOREST_OPERATION
Invalid under/after/before coordinates used to change the forest, or other parameters used to make a forest operation. The error can be fixed by changing the parameters of the forest operation. -
UNSUPPORTED_FOREST_SOURCE_OPERATION
Unsupported operation onForestSource— for example, trying to make changes on a read-only source. The error cannot be fixed on the same forest source. -
UNAVAILABLE_MODULE
An extension module (item type, attribute loader, etc) is expected to exist in the system but was missing. -
MODULE_ERROR
An extension module is throwing an exception or fails to get linked to. -
SIGNATURE_MISMATCH
Signature has changed and the client needs to reload the initial data before applying updates. -
AUTOMATION_FAILED
Automation feature failed. -
CONSISTENT_OPERATION_FAILED
An operation that implements optimistic locking to achieve consistent result failed because of too many cycles in the optimistic lock. -
SAVED_COLUMN_NOT_EXISTS_OR_NOT_ACCESSIBLE
Inaccessible saved column. -
SAVED_COLUMN_MANAGEMENT_DENIED
The user does not have permissions to manage a saved column. -
NOTE_NOT_EXISTS_OR_NOT_ACCESSIBLE
Inaccessible note. -
NOTE_EDIT_DENIED
The user does not have permissions to edit or archive a note.
-
-
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
-
getCode
public int getCode()Description copied from interface:StructureErrorReturns error code.- Specified by:
getCodein interfaceStructureError
-
getCategory
Description copied from interface:StructureErrorReturns error category.- Specified by:
getCategoryin interfaceStructureError
-
toString
- Overrides:
toStringin classEnum<StructureErrors>
-