|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tmatesoft.svn.core.SVNErrorCode
public class SVNErrorCode
The SVNErrorCode class represents possible predefined kinds of errors with their own identifying information. Each SVNErrorCode has its common description, belongs to a definite category of errors and also has its unique error code int value based upon the category.
Error codes (values, common descriptions and categories) are similar to ones in the native SVN.
Error codes are divided into categories of up to 5000 errors each. Categories are fixed-size; if a category has fewer than 5000 errors, then it just ends with a range of unused numbers.
Constructor Summary | |
---|---|
protected |
SVNErrorCode(int category,
int index,
java.lang.String description)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Says if the given object and this one are equal. |
int |
getCategory()
Returns the category this error code object belongs to. |
int |
getCode()
Returns a unique error code value. |
java.lang.String |
getDescription()
Returns a description of this error. |
static SVNErrorCode |
getErrorCode(int code)
Gets an error code object given its unique error code number. |
int |
hashCode()
Returns a hash code for this object. |
boolean |
isAuthentication()
Says if this error is an authentication error. |
java.lang.String |
toString()
Gives a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int BAD_CATEGORY
public static final int XML_CATEGORY
public static final int IO_CATEGORY
public static final int STREAM_CATEGORY
public static final int NODE_CATEGORY
public static final int ENTRY_CATEGORY
public static final int WC_CATEGORY
public static final int FS_CATEGORY
public static final int REPOS_CATEGORY
public static final int RA_CATEGORY
public static final int RA_DAV_CATEGORY
public static final int RA_LOCAL_CATEGORY
public static final int SVNDIFF_CATEGORY
public static final int APMOD_CATEGORY
public static final int CLIENT_CATEGORY
public static final int MISC_CATEGORY
public static final int CL_CATEGORY
public static final int RA_SVN_CATEGORY
public static final int AUTHN_CATEGORY
public static final int AUTHZ_CATEGORY
public static final int DIFF_CATEGORY
public static final int RA_SERF_CATEGORY
public static final int MALFUNC_CATEGORY
public static final SVNErrorCode UNKNOWN
public static final SVNErrorCode IO_ERROR
public static final SVNErrorCode BAD_CONTAINING_POOL
public static final SVNErrorCode BAD_FILENAME
public static final SVNErrorCode BAD_URL
public static final SVNErrorCode BAD_DATE
public static final SVNErrorCode BAD_MIME_TYPE
public static final SVNErrorCode BAD_PROPERTY_VALUE
public static final SVNErrorCode BAD_VERSION_FILE_FORMAT
public static final SVNErrorCode BAD_RELATIVE_PATH
public static final SVNErrorCode BAD_UUID
public static final SVNErrorCode BAD_CONFIG_VALUE
public static final SVNErrorCode BAD_SERVER_SPECIFICATION
public static final SVNErrorCode BAD_CHECKSUM_KIND
public static final SVNErrorCode BAD_CHECKSUM_PARSE
public static final SVNErrorCode XML_ATTRIB_NOT_FOUND
public static final SVNErrorCode XML_MISSING_ANCESTRY
public static final SVNErrorCode XML_UNKNOWN_ENCODING
public static final SVNErrorCode XML_MALFORMED
public static final SVNErrorCode XML_UNESCAPABLE_DATA
public static final SVNErrorCode IO_INCONSISTENT_EOL
public static final SVNErrorCode IO_UNKNOWN_EOL
public static final SVNErrorCode IO_CORRUPT_EOL
public static final SVNErrorCode IO_UNIQUE_NAMES_EXHAUSTED
public static final SVNErrorCode IO_PIPE_FRAME_ERROR
public static final SVNErrorCode IO_PIPE_READ_ERROR
public static final SVNErrorCode IO_WRITE_ERROR
public static final SVNErrorCode STREAM_UNEXPECTED_EOF
public static final SVNErrorCode STREAM_MALFORMED_DATA
public static final SVNErrorCode STREAM_UNRECOGNIZED_DATA
public static final SVNErrorCode NODE_UNKNOWN_KIND
public static final SVNErrorCode NODE_UNEXPECTED_KIND
public static final SVNErrorCode ENTRY_NOT_FOUND
public static final SVNErrorCode ENTRY_EXISTS
public static final SVNErrorCode ENTRY_MISSING_REVISION
public static final SVNErrorCode ENTRY_MISSING_URL
public static final SVNErrorCode ENTRY_ATTRIBUTE_INVALID
public static final SVNErrorCode ENTRY_FORBIDDEN
public static final SVNErrorCode WC_OBSTRUCTED_UPDATE
public static final SVNErrorCode WC_UNWIND_MISMATCH
public static final SVNErrorCode WC_UNWIND_EMPTY
public static final SVNErrorCode WC_UNWIND_NOT_EMPTY
public static final SVNErrorCode WC_LOCKED
public static final SVNErrorCode WC_NOT_LOCKED
public static final SVNErrorCode WC_INVALID_LOCK
public static final SVNErrorCode WC_NOT_WORKING_COPY
public static final SVNErrorCode WC_NOT_DIRECTORY
public static final SVNErrorCode WC_NOT_FILE
public static final SVNErrorCode WC_BAD_ADM_LOG
public static final SVNErrorCode WC_PATH_NOT_FOUND
public static final SVNErrorCode WC_NOT_UP_TO_DATE
public static final SVNErrorCode WC_LEFT_LOCAL_MOD
public static final SVNErrorCode WC_SCHEDULE_CONFLICT
public static final SVNErrorCode WC_PATH_FOUND
public static final SVNErrorCode WC_FOUND_CONFLICT
public static final SVNErrorCode WC_CORRUPT
public static final SVNErrorCode WC_CORRUPT_TEXT_BASE
public static final SVNErrorCode WC_NODE_KIND_CHANGE
public static final SVNErrorCode WC_INVALID_OP_ON_CWD
public static final SVNErrorCode WC_BAD_ADM_LOG_START
public static final SVNErrorCode WC_UNSUPPORTED_FORMAT
public static final SVNErrorCode WC_BAD_PATH
public static final SVNErrorCode WC_INVALID_SCHEDULE
public static final SVNErrorCode WC_INVALID_RELOCATION
public static final SVNErrorCode WC_INVALID_SWITCH
public static final SVNErrorCode WC_MISMATCHED_CHANGELIST
public static final SVNErrorCode WC_CONFLICT_RESOLVER_FAILURE
public static final SVNErrorCode WC_COPYFROM_PATH_NOT_FOUND
public static final SVNErrorCode WC_CHANGELIST_MOVE
public static final SVNErrorCode WC_CANNOT_DELETE_FILE_EXTERNAL
public static final SVNErrorCode WC_CANNOT_MOVE_FILE_EXTERNAL
public static final SVNErrorCode WC_DB_ERROR
public static final SVNErrorCode WC_MISSING
public static final SVNErrorCode WC_NOT_SYMLINK
public static final SVNErrorCode WC_PATH_UNEXPECTED_STATUS
public static final SVNErrorCode WC_UPGRADE_REQUIRED
public static final SVNErrorCode WC_CLEANUP_REQUIRED
public static final SVNErrorCode WC_INVALID_OPERATION_DEPTH
public static final SVNErrorCode FS_GENERAL
public static final SVNErrorCode FS_CLEANUP
public static final SVNErrorCode FS_ALREADY_OPEN
public static final SVNErrorCode FS_NOT_OPEN
public static final SVNErrorCode FS_CORRUPT
public static final SVNErrorCode FS_PATH_SYNTAX
public static final SVNErrorCode FS_NO_SUCH_REVISION
public static final SVNErrorCode FS_NO_SUCH_TRANSACTION
public static final SVNErrorCode FS_NO_SUCH_ENTRY
public static final SVNErrorCode FS_NO_SUCH_REPRESENTATION
public static final SVNErrorCode FS_NO_SUCH_STRING
public static final SVNErrorCode FS_NO_SUCH_COPY
public static final SVNErrorCode FS_TRANSACTION_NOT_MUTABLE
public static final SVNErrorCode FS_NOT_FOUND
public static final SVNErrorCode FS_ID_NOT_FOUND
public static final SVNErrorCode FS_NOT_ID
public static final SVNErrorCode FS_NOT_DIRECTORY
public static final SVNErrorCode FS_NOT_FILE
public static final SVNErrorCode FS_NOT_SINGLE_PATH_COMPONENT
public static final SVNErrorCode FS_NOT_MUTABLE
public static final SVNErrorCode FS_ALREADY_EXISTS
public static final SVNErrorCode FS_ROOT_DIR
public static final SVNErrorCode FS_NOT_TXN_ROOT
public static final SVNErrorCode FS_NOT_REVISION_ROOT
public static final SVNErrorCode FS_CONFLICT
public static final SVNErrorCode FS_REP_CHANGED
public static final SVNErrorCode FS_REP_NOT_MUTABLE
public static final SVNErrorCode FS_MALFORMED_SKEL
public static final SVNErrorCode FS_TXN_OUT_OF_DATE
public static final SVNErrorCode FS_BERKELEY_DB
public static final SVNErrorCode FS_BERKELEY_DB_DEADLOCK
public static final SVNErrorCode FS_TRANSACTION_DEAD
public static final SVNErrorCode FS_TRANSACTION_NOT_DEAD
public static final SVNErrorCode FS_UNKNOWN_FS_TYPE
public static final SVNErrorCode FS_NO_USER
public static final SVNErrorCode FS_PATH_ALREADY_LOCKED
public static final SVNErrorCode FS_PATH_NOT_LOCKED
public static final SVNErrorCode FS_BAD_LOCK_TOKEN
public static final SVNErrorCode FS_NO_LOCK_TOKEN
public static final SVNErrorCode FS_LOCK_OWNER_MISMATCH
public static final SVNErrorCode FS_NO_SUCH_LOCK
public static final SVNErrorCode FS_LOCK_EXPIRED
public static final SVNErrorCode FS_OUT_OF_DATE
public static final SVNErrorCode FS_UNSUPPORTED_FORMAT
public static final SVNErrorCode FS_REP_BEING_WRITTEN
public static final SVNErrorCode FS_TXN_NAME_TOO_LONG
public static final SVNErrorCode FS_NO_SUCH_NODE_ORIGIN
public static final SVNErrorCode REPOS_LOCKED
public static final SVNErrorCode REPOS_HOOK_FAILURE
public static final SVNErrorCode REPOS_BAD_ARGS
public static final SVNErrorCode REPOS_NO_DATA_FOR_REPORT
public static final SVNErrorCode REPOS_BAD_REVISION_REPORT
public static final SVNErrorCode REPOS_UNSUPPORTED_VERSION
public static final SVNErrorCode REPOS_DISABLED_FEATURE
public static final SVNErrorCode REPOS_POST_COMMIT_HOOK_FAILED
public static final SVNErrorCode REPOS_POST_LOCK_HOOK_FAILED
public static final SVNErrorCode REPOS_POST_UNLOCK_HOOK_FAILED
public static final SVNErrorCode RA_ILLEGAL_URL
public static final SVNErrorCode RA_NOT_AUTHORIZED
public static final SVNErrorCode RA_UNKNOWN_AUTH
public static final SVNErrorCode RA_NOT_IMPLEMENTED
public static final SVNErrorCode RA_OUT_OF_DATE
public static final SVNErrorCode RA_NO_REPOS_UUID
public static final SVNErrorCode RA_UNSUPPORTED_ABI_VERSION
public static final SVNErrorCode RA_NOT_LOCKED
public static final SVNErrorCode RA_PARTIAL_REPLAY_NOT_SUPPORTED
public static final SVNErrorCode RA_UUID_MISMATCH
public static final SVNErrorCode RA_REPOS_ROOT_URL_MISMATCH
public static final SVNErrorCode RA_DAV_SOCK_INIT
public static final SVNErrorCode RA_DAV_CREATING_REQUEST
public static final SVNErrorCode RA_DAV_REQUEST_FAILED
public static final SVNErrorCode RA_DAV_OPTIONS_REQ_FAILED
public static final SVNErrorCode RA_DAV_PROPS_NOT_FOUND
public static final SVNErrorCode RA_DAV_ALREADY_EXISTS
public static final SVNErrorCode RA_DAV_INVALID_CONFIG_VALUE
public static final SVNErrorCode RA_DAV_PATH_NOT_FOUND
public static final SVNErrorCode RA_DAV_PROPPATCH_FAILED
public static final SVNErrorCode RA_DAV_MALFORMED_DATA
public static final SVNErrorCode RA_DAV_RESPONSE_HEADER_BADNESS
public static final SVNErrorCode RA_DAV_RELOCATED
public static final SVNErrorCode RA_DAV_CONN_TIMEOUT
public static final SVNErrorCode RA_DAV_FORBIDDEN
public static final SVNErrorCode RA_LOCAL_REPOS_NOT_FOUND
public static final SVNErrorCode RA_LOCAL_REPOS_OPEN_FAILED
public static final SVNErrorCode RA_SVN_CMD_ERR
public static final SVNErrorCode RA_SVN_UNKNOWN_CMD
public static final SVNErrorCode RA_SVN_CONNECTION_CLOSED
public static final SVNErrorCode RA_SVN_IO_ERROR
public static final SVNErrorCode RA_SVN_MALFORMED_DATA
public static final SVNErrorCode RA_SVN_REPOS_NOT_FOUND
public static final SVNErrorCode RA_SVN_BAD_VERSION
public static final SVNErrorCode AUTHN_CREDS_UNAVAILABLE
public static final SVNErrorCode AUTHN_NO_PROVIDER
public static final SVNErrorCode AUTHN_PROVIDERS_EXHAUSTED
public static final SVNErrorCode AUTHN_CREDS_NOT_SAVED
public static final SVNErrorCode AUTHZ_ROOT_UNREADABLE
public static final SVNErrorCode AUTHZ_UNREADABLE
public static final SVNErrorCode AUTHZ_PARTIALLY_READABLE
public static final SVNErrorCode AUTHZ_INVALID_CONFIG
public static final SVNErrorCode AUTHZ_UNWRITABLE
public static final SVNErrorCode SVNDIFF_INVALID_HEADER
public static final SVNErrorCode SVNDIFF_CORRUPT_WINDOW
public static final SVNErrorCode SVNDIFF_BACKWARD_VIEW
public static final SVNErrorCode SVNDIFF_INVALID_OPS
public static final SVNErrorCode SVNDIFF_UNEXPECTED_END
public static final SVNErrorCode APMOD_MISSING_PATH_TO_FS
public static final SVNErrorCode APMOD_MALFORMED_URI
public static final SVNErrorCode APMOD_ACTIVITY_NOT_FOUND
public static final SVNErrorCode APMOD_BAD_BASELINE
public static final SVNErrorCode APMOD_CONNECTION_ABORTED
public static final SVNErrorCode CLIENT_VERSIONED_PATH_REQUIRED
public static final SVNErrorCode CLIENT_RA_ACCESS_REQUIRED
public static final SVNErrorCode CLIENT_BAD_REVISION
public static final SVNErrorCode CLIENT_DUPLICATE_COMMIT_URL
public static final SVNErrorCode CLIENT_IS_BINARY_FILE
public static final SVNErrorCode CLIENT_INVALID_EXTERNALS_DESCRIPTION
public static final SVNErrorCode CLIENT_MODIFIED
public static final SVNErrorCode CLIENT_IS_DIRECTORY
public static final SVNErrorCode CLIENT_REVISION_RANGE
public static final SVNErrorCode CLIENT_INVALID_RELOCATION
public static final SVNErrorCode CLIENT_REVISION_AUTHOR_CONTAINS_NEWLINE
public static final SVNErrorCode CLIENT_PROPERTY_NAME
public static final SVNErrorCode CLIENT_UNRELATED_RESOURCES
public static final SVNErrorCode CLIENT_MISSING_LOCK_TOKEN
public static final SVNErrorCode CLIENT_MULTIPLE_SOURCES_DISALLOWED
public static final SVNErrorCode CLIENT_NO_VERSIONED_PARENT
public static final SVNErrorCode CLIENT_NOT_READY_TO_MERGE
public static final SVNErrorCode CLIENT_FILE_EXTERNAL_OVERWRITE_VERSIONED
public static final SVNErrorCode CLIENT_BAD_STRIP_COUNT
public static final SVNErrorCode CLIENT_CYCLE_DETECTED
public static final SVNErrorCode CLIENT_MERGE_UPDATE_REQUIRED
public static final SVNErrorCode CLIENT_INVALID_MERGEINFO_NO_MERGETRACKING
public static final SVNErrorCode CLIENT_NO_LOCK_TOKEN
public static final SVNErrorCode CLIENT_FORBIDDEN_BY_SERVER
public static final SVNErrorCode BASE
public static final SVNErrorCode PLUGIN_LOAD_FAILURE
public static final SVNErrorCode MALFORMED_FILE
public static final SVNErrorCode INCOMPLETE_DATA
public static final SVNErrorCode INCORRECT_PARAMS
public static final SVNErrorCode UNVERSIONED_RESOURCE
public static final SVNErrorCode TEST_FAILED
public static final SVNErrorCode UNSUPPORTED_FEATURE
public static final SVNErrorCode BAD_PROP_KIND
public static final SVNErrorCode ILLEGAL_TARGET
public static final SVNErrorCode DELTA_MD5_CHECKSUM_ABSENT
public static final SVNErrorCode DIR_NOT_EMPTY
public static final SVNErrorCode EXTERNAL_PROGRAM
public static final SVNErrorCode SWIG_PY_EXCEPTION_SET
public static final SVNErrorCode CHECKSUM_MISMATCH
public static final SVNErrorCode CANCELLED
public static final SVNErrorCode INVALID_DIFF_OPTION
public static final SVNErrorCode PROPERTY_NOT_FOUND
public static final SVNErrorCode NO_AUTH_FILE_PATH
public static final SVNErrorCode VERSION_MISMATCH
public static final SVNErrorCode MERGE_INFO_PARSE_ERROR
public static final SVNErrorCode CEASE_INVOCATION
public static final SVNErrorCode REVISION_NUMBER_PARSE_ERROR
public static final SVNErrorCode ITER_BREAK
public static final SVNErrorCode UNKNOWN_CHANGELIST
public static final SVNErrorCode RESERVED_FILENAME_SPECIFIED
public static final SVNErrorCode UNKNOWN_CAPABILITY
public static final SVNErrorCode TEST_SKIPPED
public static final SVNErrorCode ATOMIC_INIT_FAILURE
public static final SVNErrorCode SQLITE_ERROR
public static final SVNErrorCode SQLITE_READONLY
public static final SVNErrorCode UNSUPPORTED_SCHEMA
public static final SVNErrorCode CL_ARG_PARSING_ERROR
public static final SVNErrorCode CL_INSUFFICIENT_ARGS
public static final SVNErrorCode CL_MUTUALLY_EXCLUSIVE_ARGS
public static final SVNErrorCode CL_ADM_DIR_RESERVED
public static final SVNErrorCode CL_LOG_MESSAGE_IS_VERSIONED_FILE
public static final SVNErrorCode CL_LOG_MESSAGE_IS_PATHNAME
public static final SVNErrorCode CL_COMMIT_IN_ADDED_DIR
public static final SVNErrorCode CL_NO_EXTERNAL_EDITOR
public static final SVNErrorCode CL_BAD_LOG_MESSAGE
public static final SVNErrorCode CL_UNNECESSARY_LOG_MESSAGE
public static final SVNErrorCode CL_NO_EXTERNAL_MERGE_TOOL
public static final SVNErrorCode CL_ERROR_PROCESSING_EXTERNALS
public static final SVNErrorCode ASSERTION_FAIL
public static final SVNErrorCode BAD_CHANGELIST_NAME
Constructor Detail |
---|
protected SVNErrorCode(int category, int index, java.lang.String description)
Method Detail |
---|
public static SVNErrorCode getErrorCode(int code)
UNKNOWN
.
code
- an error code number
public int getCode()
public int getCategory()
public java.lang.String getDescription()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- an object to compare with
public boolean isAuthentication()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |