public enum VtiError extends Enum<VtiError>
Enum of the standard errors that may be raised by the protocol usage.
Modifier and Type | Method and Description |
---|---|
long |
getErrorCode() |
String |
getMessage() |
static VtiError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VtiError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VtiError NOT_FOUND
public static final VtiError ITEM_NOT_FOUND
public static final VtiError LIST_NOT_FOUND
public static final VtiError NO_PERMISSIONS
public static final VtiError ALREADY_EXISTS
public static final VtiError DOES_NOT_EXIST
public static final VtiError WRITE_ERROR
public static final VtiError CANNOT_RENAME_DEST_EXISTS
public static final VtiError FILE_ALREADY_EXISTS
public static final VtiError V_BAD_URL
public static final VtiError V_URL_NOT_FOUND
public static final VtiError PRIMARY_PARENT_NOT_EXIST
public static final VtiError FOLDER_ALREADY_EXISTS
public static final VtiError V_DOC_CHECKED_OUT
public static final VtiError V_DOC_NOT_CHECKED_OUT
public static final VtiError SOME_FILES_AUTO_CHECKEDOUT
public static final VtiError V_URL_DIR_NOT_FOUND
public static final VtiError V_DOC_IS_LOCKED
public static final VtiError V_FILE_OPEN_FOR_WRITE
public static final VtiError V_REMOVE_FILE
public static final VtiError V_REMOVE_DIRECTORY
public static final VtiError V_HAS_ILLEGAL_CHARACTERS
public static final VtiError V_OWSSVR_ERRORACCESSDENIED
public static final VtiError V_OWSSVR_ERRORSERVERINCAPABLE
public static final VtiError V_VERSION_NOT_FOUND
public static final VtiError V_LIST_NOT_FOUND
public static final VtiError V_UNDEFINED
public static VtiError[] values()
for (VtiError c : VtiError.values()) System.out.println(c);
public static VtiError 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 getMessage()
public long getErrorCode()
Copyright © 2005–2017 Alfresco Software. All rights reserved.