public enum ClientError extends Enum<ClientError>
Enum Constant and Description |
---|
CHILD_MOUNT_EXISTS
Client requests to delete a hst:mount node, but it contains children node(s) of type hst:mount
|
DOCUMENT_CREATION_FAILED |
FORBIDDEN |
INVALID_MOVE_TO_SELF_OR_DESCENDANT |
INVALID_NAME |
INVALID_NODE_TYPE |
INVALID_PATH_INFO |
INVALID_URL |
INVALID_UUID |
INVALID_VERSION_STAMP
When trying to lock a node that has in the mean time been locked, changed and published by someone else, this
error can be used to return.
|
ITEM_ALREADY_LOCKED
Represents a situation where a client tries to mutate an item that has already been locked by another user
|
ITEM_CANNOT_BE_CLONED |
ITEM_CHANGED
Represents a situation where a client tries to mutate an item that has been changed by another user
|
ITEM_EXISTS
Client requests to create a new item with the given Id that already exists
|
ITEM_EXISTS_OUTSIDE_WORKSPACE
Represents a situation where a client tries to add an item that already exist outside of the workspace with the
same name.
|
ITEM_NAME_NOT_UNIQUE
Represents a situation where a client tries to add a child node to a parent that does not allow same name
siblings.
|
ITEM_NAME_NOT_UNIQUE_IN_ROOT
Represents a situation where a client tries to add a child node to a parent that does not allow same name
siblings, where the parent represents the root of a certain node hierarchy.
|
ITEM_NO_NAME
Represents a situation where a client tries to add an item that has no name (title in case of menu)
|
ITEM_NOT_CHILD_OF_PARENT |
ITEM_NOT_CORRECT_LOCATION |
ITEM_NOT_FOUND |
ITEM_NOT_IN_PREVIEW |
NO_PREVIEW_CONFIGURATION |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static ClientError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientError ITEM_NAME_NOT_UNIQUE
public static final ClientError ITEM_NAME_NOT_UNIQUE_IN_ROOT
public static final ClientError ITEM_ALREADY_LOCKED
public static final ClientError ITEM_CHANGED
public static final ClientError ITEM_EXISTS_OUTSIDE_WORKSPACE
public static final ClientError ITEM_NO_NAME
public static final ClientError INVALID_URL
public static final ClientError INVALID_PATH_INFO
public static final ClientError ITEM_CANNOT_BE_CLONED
public static final ClientError ITEM_NOT_IN_PREVIEW
public static final ClientError NO_PREVIEW_CONFIGURATION
public static final ClientError ITEM_NOT_CORRECT_LOCATION
public static final ClientError ITEM_NOT_FOUND
public static final ClientError ITEM_NOT_CHILD_OF_PARENT
public static final ClientError INVALID_UUID
public static final ClientError INVALID_MOVE_TO_SELF_OR_DESCENDANT
public static final ClientError INVALID_NODE_TYPE
public static final ClientError INVALID_VERSION_STAMP
public static final ClientError DOCUMENT_CREATION_FAILED
public static final ClientError INVALID_NAME
public static final ClientError ITEM_EXISTS
public static final ClientError CHILD_MOUNT_EXISTS
public static final ClientError FORBIDDEN
public static final ClientError UNKNOWN
public static ClientError[] values()
for (ClientError c : ClientError.values()) System.out.println(c);
public static ClientError 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 © 2008–2020 Hippo B.V. (http://www.onehippo.com). All rights reserved.