public enum VersionExceptionCode extends Enum<VersionExceptionCode>
VersionExceptionCode
contains the codes for version related
commit failures.Enum Constant and Description |
---|
LABEL_EXISTS |
NO_SUCH_VERSION |
NO_SUCH_VERSION_LABEL |
NO_VERSION_TO_RESTORE |
NODE_CHECKED_IN |
OPV_ABORT_ITEM_PRESENT |
ROOT_VERSION_REMOVAL |
UNEXPECTED_REPOSITORY_EXCEPTION |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
static VersionExceptionCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VersionExceptionCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VersionExceptionCode UNEXPECTED_REPOSITORY_EXCEPTION
public static final VersionExceptionCode NODE_CHECKED_IN
public static final VersionExceptionCode NO_SUCH_VERSION
public static final VersionExceptionCode OPV_ABORT_ITEM_PRESENT
public static final VersionExceptionCode NO_VERSION_TO_RESTORE
public static final VersionExceptionCode LABEL_EXISTS
public static final VersionExceptionCode NO_SUCH_VERSION_LABEL
public static final VersionExceptionCode ROOT_VERSION_REMOVAL
public static VersionExceptionCode[] values()
for (VersionExceptionCode c : VersionExceptionCode.values()) System.out.println(c);
public static VersionExceptionCode 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 String getDescription()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"