|
Project: stp | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<WvcmException.ReasonCode>
javax.wvcm.WvcmException.ReasonCode
public static enum WvcmException.ReasonCode
The reason code for a WvcmException.
Enum Constant Summary | |
---|---|
ABORTED
Method execution was aborted via notification to the Feedback object. |
|
ADD_MUST_BE_NEW_LABEL
The label is already in use by this resource. |
|
BAD_ARGUMENT_TYPE
The type of the persistent resource identified by this argument was not compatible with the specified argument type. |
|
CANNOT_CHECKIN_FORK_DISCOURAGED
Cannot checkin since it would cause a fork and forking is discouraged. |
|
CANNOT_CHECKIN_TO_RESERVED_ACTIVITY
Failed because there is a reserved checkout of a version in this version history. |
|
CANNOT_CHECKOUT_FORKING_IS_DISCOURAGED
Failed to checkout because descendant already exists and forking is discouraged. |
|
CANNOT_CHECKOUT_FORKING_IS_FORBIDDEN
Failed to checkout because descendant already exists and forking is forbidden. |
|
CANNOT_CHECKOUT_MULTI_CHECKOUT_IS_DISCOURAGED
Failed to checkout resource because multiple checkout is discouraged and the caller did not specify fork-ok. |
|
CANNOT_CHECKOUT_MULTI_CHECKOUT_IS_FORBIDDEN
Checkout of an already checked-out resource is forbidden. |
|
CANNOT_CREATE_AT_THIS_LOCATION
Cannot create this resource at the specified location. |
|
CANNOT_CREATE_BRANCH_IN_ACTIVITY
Each version in an activity for a given version history must be on the same line of descent. |
|
CANNOT_CREATE_BRANCH_IN_STREAM
Each version in a stream for a given version history must be on the same line of descent. |
|
CANNOT_FORK
A fork in the version tree is not allowed. |
|
CANNOT_HAVE_CONTROLLED_MEMBERS
baseline control failed because the folder already has controlled resources. |
|
CANNOT_HAVE_MULTIPLE_BASELINE_CONTROLLED_FOLDERS
A baseline controlled folder already exists in this workspace for this baseline history. |
|
CANNOT_MERGE_CHECKOUT_NOT_ALLOWED
Failed to perform the merge because the target could not be checked-out. |
|
CANNOT_MODIFY_PROTECTED_PROPERTY
Operation failed because it attempted to set a protected property. |
|
CANNOT_MODIFY_VERSION
Failed to modify content/properties because the resource specified was a version. |
|
CANNOT_OVERWRITE
Cannot overwrite existing binding. |
|
CANNOT_REMOVE_LABEL_DOES_NOT_EXIST
Cannot remove the specified label because it does not used by this resource. |
|
CONFLICT
The operation could not be completed because of a conflict with the current state of the resource. |
|
CONTROLLED_CONFIGURATION_ALREADY_EXISTS
This folder already has a configuration. |
|
CYCLE_NOT_ALLOWED
Cannot create location cycle. |
|
FORBIDDEN
The provider understood the request, but is refusing to fulfill it. |
|
ILLEGAL_LOCATION_SYNTAX
Illegal syntax for location string value. |
|
METHOD_NOT_SUPPORTED
Report failed since the resource does not support the specified report. |
|
MULTI_STATUS
Method failed on some of the specified resources. |
|
MUST_BE_CHECKED_IN
The operation failed because the resource must be in the checked-in state. |
|
MUST_BE_CHECKED_OUT
The operation failed because the resource must be in the checked-out state. |
|
NO_CHECKED_OUT_BASELINE_CONTROLLED_FOLDER_MEMBERS
Failed to checkin the configuration because some of it's members are still checked-out. |
|
NO_CROSS_SERVER_BINDING
Cannot create cross-server binding. |
|
NOT_FOUND
The provider has not found anything matching the location of the proxy. |
|
ONE_CHECKOUT_PER_ACTIVITY_PER_HISTORY
Failed because more than one version of this resource is referenced in the specified activity. |
|
ONE_CONTROLLED_RESOURCE_PER_HISTORY_PER_WORKSPACE
The operation failed because it would result in more than one controlled resource for this version history in a workspace. |
|
PROPERTY_NOT_CURRENTLY_AVAILABLE
A potentially recoverable condition prevented the server from retrieving the property. |
|
PROPERTY_NOT_DEFINED_FOR_RESOURCE
The property is not valid for this resource. |
|
PROPERTY_NOT_REQUESTED
The property value is unavailable because it was not in the property name list when the proxy was created. |
|
PROPERTY_NOT_SUPPORTED_BY_SERVER
Even though the specification says the property is valid for the targeted resource, the server does not support it. |
|
PROPERTY_OVERWRITE_FORBIDDEN
The property value update would overwrite an earlier change. |
|
READ_FAILED
The provider suffered an I/O failure, the operation may be retried. |
|
RESOURCE_ALREADY_EXISTS_AT_LOCATION
Creating a resource failed because a resource already exists at the specified location. |
|
UNAUTHORIZED
The user is not authorized to execute the attempted operation. |
|
VERSION_HISTORY_MUST_BE_A_TREE
Cannot checkin because the resources predecessors are not descendants of the root of the version history. |
|
VERSION_NOT_SUPPORTED
The provider understood the request, but is refusing to fulfill it due to suspected version incompatibility with the client. |
|
WRITE_FAILED
The provider suffered an I/O failure, the operation may be retried. |
Method Summary | |
---|---|
static WvcmException.ReasonCode |
getReasonCodeForRFC3253Condition(String condition)
The ReasonCode for an RFC 3253 pre- or post-condition. |
String |
toString()
Returns a string representation of this ReasonCode suitable for diagnostics. |
static WvcmException.ReasonCode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static WvcmException.ReasonCode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final WvcmException.ReasonCode ABORTED
public static final WvcmException.ReasonCode ADD_MUST_BE_NEW_LABEL
public static final WvcmException.ReasonCode BAD_ARGUMENT_TYPE
public static final WvcmException.ReasonCode CANNOT_CHECKIN_FORK_DISCOURAGED
public static final WvcmException.ReasonCode CANNOT_CHECKIN_TO_RESERVED_ACTIVITY
public static final WvcmException.ReasonCode CANNOT_CHECKOUT_FORKING_IS_DISCOURAGED
public static final WvcmException.ReasonCode CANNOT_CHECKOUT_FORKING_IS_FORBIDDEN
public static final WvcmException.ReasonCode CANNOT_CHECKOUT_MULTI_CHECKOUT_IS_DISCOURAGED
public static final WvcmException.ReasonCode CANNOT_CHECKOUT_MULTI_CHECKOUT_IS_FORBIDDEN
public static final WvcmException.ReasonCode CANNOT_CREATE_AT_THIS_LOCATION
public static final WvcmException.ReasonCode CANNOT_CREATE_BRANCH_IN_ACTIVITY
public static final WvcmException.ReasonCode CANNOT_CREATE_BRANCH_IN_STREAM
public static final WvcmException.ReasonCode CANNOT_FORK
public static final WvcmException.ReasonCode CANNOT_HAVE_CONTROLLED_MEMBERS
public static final WvcmException.ReasonCode CANNOT_HAVE_MULTIPLE_BASELINE_CONTROLLED_FOLDERS
public static final WvcmException.ReasonCode CANNOT_MERGE_CHECKOUT_NOT_ALLOWED
public static final WvcmException.ReasonCode CANNOT_MODIFY_PROTECTED_PROPERTY
public static final WvcmException.ReasonCode CANNOT_MODIFY_VERSION
public static final WvcmException.ReasonCode CANNOT_OVERWRITE
public static final WvcmException.ReasonCode CANNOT_REMOVE_LABEL_DOES_NOT_EXIST
public static final WvcmException.ReasonCode CONFLICT
This ReasonCode can be thrown by any method that contacts the server, i.e. any doXyz() method.
public static final WvcmException.ReasonCode CONTROLLED_CONFIGURATION_ALREADY_EXISTS
public static final WvcmException.ReasonCode CYCLE_NOT_ALLOWED
public static final WvcmException.ReasonCode FORBIDDEN
NOT_FOUND
can be
used instead.
This ReasonCode can be thrown by any method that contacts the server, i.e. any doXyz() method.
public static final WvcmException.ReasonCode ILLEGAL_LOCATION_SYNTAX
public static final WvcmException.ReasonCode METHOD_NOT_SUPPORTED
public static final WvcmException.ReasonCode MULTI_STATUS
public static final WvcmException.ReasonCode MUST_BE_CHECKED_IN
public static final WvcmException.ReasonCode MUST_BE_CHECKED_OUT
public static final WvcmException.ReasonCode NO_CHECKED_OUT_BASELINE_CONTROLLED_FOLDER_MEMBERS
public static final WvcmException.ReasonCode NO_CROSS_SERVER_BINDING
public static final WvcmException.ReasonCode NOT_FOUND
This ReasonCode can be thrown by any method that contacts the server, i.e. any doXyz() method.
public static final WvcmException.ReasonCode ONE_CHECKOUT_PER_ACTIVITY_PER_HISTORY
public static final WvcmException.ReasonCode ONE_CONTROLLED_RESOURCE_PER_HISTORY_PER_WORKSPACE
public static final WvcmException.ReasonCode PROPERTY_NOT_CURRENTLY_AVAILABLE
public static final WvcmException.ReasonCode PROPERTY_NOT_DEFINED_FOR_RESOURCE
This ReasonCode can be thrown by any method defined to return a property value from a proxy, i.e., any method of the form getXyz().
public static final WvcmException.ReasonCode PROPERTY_NOT_REQUESTED
This ReasonCode can be thrown by any method defined to return a property value from a proxy, i.e., any method of the form getXyz().
public static final WvcmException.ReasonCode PROPERTY_NOT_SUPPORTED_BY_SERVER
This ReasonCode can be thrown by any method defined to return a property value from a proxy, i.e., any method of the form getXyz().
public static final WvcmException.ReasonCode PROPERTY_OVERWRITE_FORBIDDEN
public static final WvcmException.ReasonCode READ_FAILED
This ReasonCode can be thrown by any method that reads information from the server or a persistent store.
public static final WvcmException.ReasonCode RESOURCE_ALREADY_EXISTS_AT_LOCATION
public static final WvcmException.ReasonCode UNAUTHORIZED
This ReasonCode can be thrown by any method.
public static final WvcmException.ReasonCode VERSION_HISTORY_MUST_BE_A_TREE
public static final WvcmException.ReasonCode VERSION_NOT_SUPPORTED
This ReasonCode can be thrown by any method that contacts the server, i.e. any doXyz() method.
public static final WvcmException.ReasonCode WRITE_FAILED
This ReasonCode can be thrown by any method that writes information to the server or a persistent store.
Method Detail |
---|
public static WvcmException.ReasonCode getReasonCodeForRFC3253Condition(String condition)
condition
- the RFC 3253 pre- or post- condition local name.
public String toString()
toString
in class Enum<WvcmException.ReasonCode>
public static WvcmException.ReasonCode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static WvcmException.ReasonCode[] values()
for (WvcmException.ReasonCode c : WvcmException.ReasonCode.values()) System.out.println(c);
|
Generated Mon 18-May-2015 11:04 PM | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |