Package org.tmatesoft.svn.core
Class SVNErrorCode
java.lang.Object
org.tmatesoft.svn.core.SVNErrorCode
- All Implemented Interfaces:
java.io.Serializable
public class SVNErrorCode
extends java.lang.Object
implements java.io.Serializable
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.
- Since:
- 1.2
- Version:
- 1.3
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SVNErrorCodestatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodeprivate static final intprivate static final intstatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final intprivate intprivate intprivate java.lang.Stringstatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final SVNErrorCodeprivate static final java.util.Mapstatic final SVNErrorCodestatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodeprivate static final longstatic final SVNErrorCodestatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodeThis code is deprecated.static final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final intstatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCodestatic final SVNErrorCode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSVNErrorCode(int category, int index, java.lang.String description) -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(java.lang.Object o) Says if the given object and this one are equal.intReturns the category this error code object belongs to.intgetCode()Returns a unique error code value.java.lang.StringReturns a description of this error.static SVNErrorCodegetErrorCode(int code) Gets an error code object given its unique error code number.inthashCode()Returns a hash code for this object.booleanSays if this error is an authentication error.private java.lang.Objectjava.lang.StringtoString()Gives a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
myDescription
private java.lang.String myDescription -
myCategory
private int myCategory -
myCode
private int myCode -
ourErrorCodes
private static final java.util.Map ourErrorCodes -
ERR_BASE
private static final int ERR_BASE- See Also:
-
ERR_CATEGORY_SIZE
private static final int ERR_CATEGORY_SIZE- See Also:
-
BAD_CATEGORY
public static final int BAD_CATEGORY- See Also:
-
XML_CATEGORY
public static final int XML_CATEGORY- See Also:
-
IO_CATEGORY
public static final int IO_CATEGORY- See Also:
-
STREAM_CATEGORY
public static final int STREAM_CATEGORY- See Also:
-
NODE_CATEGORY
public static final int NODE_CATEGORY- See Also:
-
ENTRY_CATEGORY
public static final int ENTRY_CATEGORY- See Also:
-
WC_CATEGORY
public static final int WC_CATEGORY- See Also:
-
FS_CATEGORY
public static final int FS_CATEGORY- See Also:
-
REPOS_CATEGORY
public static final int REPOS_CATEGORY- See Also:
-
RA_CATEGORY
public static final int RA_CATEGORY- See Also:
-
RA_DAV_CATEGORY
public static final int RA_DAV_CATEGORY- See Also:
-
RA_LOCAL_CATEGORY
public static final int RA_LOCAL_CATEGORY- See Also:
-
SVNDIFF_CATEGORY
public static final int SVNDIFF_CATEGORY- See Also:
-
APMOD_CATEGORY
public static final int APMOD_CATEGORY- See Also:
-
CLIENT_CATEGORY
public static final int CLIENT_CATEGORY- See Also:
-
MISC_CATEGORY
public static final int MISC_CATEGORY- See Also:
-
CL_CATEGORY
public static final int CL_CATEGORY- See Also:
-
RA_SVN_CATEGORY
public static final int RA_SVN_CATEGORY- See Also:
-
AUTHN_CATEGORY
public static final int AUTHN_CATEGORY- See Also:
-
AUTHZ_CATEGORY
public static final int AUTHZ_CATEGORY- See Also:
-
DIFF_CATEGORY
public static final int DIFF_CATEGORY- See Also:
-
RA_SERF_CATEGORY
public static final int RA_SERF_CATEGORY- See Also:
-
MALFUNC_CATEGORY
public static final int MALFUNC_CATEGORY- See Also:
-
UNKNOWN
-
IO_ERROR
-
BAD_CONTAINING_POOL
-
BAD_FILENAME
-
BAD_URL
-
BAD_DATE
-
BAD_MIME_TYPE
-
BAD_PROPERTY_VALUE
-
BAD_VERSION_FILE_FORMAT
-
BAD_RELATIVE_PATH
- Since:
- 1.2.0, SVN 1.5
-
BAD_UUID
- Since:
- 1.2.0, SVN 1.5
-
BAD_CONFIG_VALUE
- Since:
- 1.3, SVN 1.6
-
BAD_SERVER_SPECIFICATION
- Since:
- 1.3, SVN 1.6
-
BAD_CHECKSUM_KIND
- Since:
- 1.3, SVN 1.6
-
BAD_CHECKSUM_PARSE
- Since:
- 1.3, SVN 1.6
-
XML_ATTRIB_NOT_FOUND
-
XML_MISSING_ANCESTRY
-
XML_UNKNOWN_ENCODING
-
XML_MALFORMED
-
XML_UNESCAPABLE_DATA
-
IO_INCONSISTENT_EOL
-
IO_UNKNOWN_EOL
-
IO_CORRUPT_EOL
-
IO_UNIQUE_NAMES_EXHAUSTED
-
IO_PIPE_FRAME_ERROR
-
IO_PIPE_READ_ERROR
-
IO_WRITE_ERROR
-
STREAM_UNEXPECTED_EOF
-
STREAM_MALFORMED_DATA
-
STREAM_UNRECOGNIZED_DATA
-
NODE_UNKNOWN_KIND
-
NODE_UNEXPECTED_KIND
-
ENTRY_NOT_FOUND
-
ENTRY_EXISTS
-
ENTRY_MISSING_REVISION
-
ENTRY_MISSING_URL
-
ENTRY_ATTRIBUTE_INVALID
-
ENTRY_FORBIDDEN
-
WC_OBSTRUCTED_UPDATE
-
WC_UNWIND_MISMATCH
-
WC_UNWIND_EMPTY
-
WC_UNWIND_NOT_EMPTY
-
WC_LOCKED
-
WC_NOT_LOCKED
-
WC_INVALID_LOCK
-
WC_NOT_WORKING_COPY
- Since:
- 1.4, SVN 1.7
-
WC_NOT_DIRECTORY
This code is deprecated. Use WC_NOT_WORKING_COPY. Provided for backward compatibility with pre-1.4 API -
WC_NOT_FILE
-
WC_BAD_ADM_LOG
-
WC_PATH_NOT_FOUND
-
WC_NOT_UP_TO_DATE
-
WC_LEFT_LOCAL_MOD
-
WC_SCHEDULE_CONFLICT
-
WC_PATH_FOUND
-
WC_FOUND_CONFLICT
-
WC_CORRUPT
-
WC_CORRUPT_TEXT_BASE
-
WC_NODE_KIND_CHANGE
-
WC_INVALID_OP_ON_CWD
-
WC_BAD_ADM_LOG_START
-
WC_UNSUPPORTED_FORMAT
-
WC_BAD_PATH
-
WC_INVALID_SCHEDULE
-
WC_INVALID_RELOCATION
-
WC_INVALID_SWITCH
-
WC_MISMATCHED_CHANGELIST
- Since:
- 1.2.0, SVN 1.5
-
WC_CONFLICT_RESOLVER_FAILURE
- Since:
- 1.2.0, SVN 1.5
-
WC_COPYFROM_PATH_NOT_FOUND
- Since:
- 1.2.0, SVN 1.5
-
WC_CHANGELIST_MOVE
- Since:
- 1.2.0, SVN 1.5
-
WC_CANNOT_DELETE_FILE_EXTERNAL
- Since:
- 1.3, SVN 1.6
-
WC_CANNOT_MOVE_FILE_EXTERNAL
- Since:
- 1.3, SVN 1.6
-
WC_DB_ERROR
- Since:
- 1.4, SVN 1.7
-
WC_MISSING
- Since:
- 1.4, SVN 1.7
-
WC_NOT_SYMLINK
- Since:
- 1.4, SVN 1.7
-
WC_PATH_UNEXPECTED_STATUS
- Since:
- 1.4, SVN 1.7
-
WC_UPGRADE_REQUIRED
- Since:
- 1.4, SVN 1.7
-
WC_CLEANUP_REQUIRED
- Since:
- 1.4, SVN 1.7
-
WC_INVALID_OPERATION_DEPTH
-
WC_PATH_ACCESS_DENIED
-
WC_MIXED_REVISIONS
- Since:
- 1.8, SVN 1.8
-
WC_DUPLICATE_EXTERNALS_TARGET
-
FS_GENERAL
-
FS_CLEANUP
-
FS_ALREADY_OPEN
-
FS_NOT_OPEN
-
FS_CORRUPT
-
FS_PATH_SYNTAX
-
FS_NO_SUCH_REVISION
-
FS_NO_SUCH_TRANSACTION
-
FS_NO_SUCH_ENTRY
-
FS_NO_SUCH_REPRESENTATION
-
FS_NO_SUCH_STRING
-
FS_NO_SUCH_COPY
-
FS_TRANSACTION_NOT_MUTABLE
-
FS_NOT_FOUND
-
FS_ID_NOT_FOUND
-
FS_NOT_ID
-
FS_NOT_DIRECTORY
-
FS_NOT_FILE
-
FS_NOT_SINGLE_PATH_COMPONENT
-
FS_NOT_MUTABLE
-
FS_ALREADY_EXISTS
-
FS_ROOT_DIR
-
FS_NOT_TXN_ROOT
-
FS_NOT_REVISION_ROOT
-
FS_CONFLICT
-
FS_REP_CHANGED
-
FS_REP_NOT_MUTABLE
-
FS_MALFORMED_SKEL
-
FS_TXN_OUT_OF_DATE
-
FS_BERKELEY_DB
-
FS_BERKELEY_DB_DEADLOCK
-
FS_TRANSACTION_DEAD
-
FS_TRANSACTION_NOT_DEAD
-
FS_UNKNOWN_FS_TYPE
-
FS_NO_USER
-
FS_PATH_ALREADY_LOCKED
-
FS_PATH_NOT_LOCKED
-
FS_BAD_LOCK_TOKEN
-
FS_NO_LOCK_TOKEN
-
FS_LOCK_OWNER_MISMATCH
-
FS_NO_SUCH_LOCK
-
FS_LOCK_EXPIRED
-
FS_OUT_OF_DATE
-
FS_UNSUPPORTED_FORMAT
-
FS_REP_BEING_WRITTEN
-
FS_TXN_NAME_TOO_LONG
-
FS_NO_SUCH_NODE_ORIGIN
-
FS_INDEX_CORRUPTION
-
FS_INDEX_REVISION
-
FS_INDEX_OVERFLOW
-
FS_CONTAINER_INDEX
-
FS_INDEX_INCONSISTENT
-
REPOS_LOCKED
-
REPOS_HOOK_FAILURE
-
REPOS_BAD_ARGS
-
REPOS_NO_DATA_FOR_REPORT
-
REPOS_BAD_REVISION_REPORT
-
REPOS_UNSUPPORTED_VERSION
-
REPOS_DISABLED_FEATURE
-
REPOS_POST_COMMIT_HOOK_FAILED
-
REPOS_POST_LOCK_HOOK_FAILED
-
REPOS_POST_UNLOCK_HOOK_FAILED
-
RA_ILLEGAL_URL
-
RA_NOT_AUTHORIZED
-
RA_UNKNOWN_AUTH
-
RA_NOT_IMPLEMENTED
-
RA_OUT_OF_DATE
-
RA_NO_REPOS_UUID
-
RA_UNSUPPORTED_ABI_VERSION
-
RA_NOT_LOCKED
-
RA_PARTIAL_REPLAY_NOT_SUPPORTED
- Since:
- 1.2.0, SVN 1.5
-
RA_UUID_MISMATCH
- Since:
- 1.2.0, SVN 1.5
-
RA_REPOS_ROOT_URL_MISMATCH
- Since:
- 1.3, SVN 1.6
-
RA_DAV_SOCK_INIT
-
RA_DAV_CREATING_REQUEST
-
RA_DAV_REQUEST_FAILED
-
RA_DAV_OPTIONS_REQ_FAILED
-
RA_DAV_PROPS_NOT_FOUND
-
RA_DAV_ALREADY_EXISTS
-
RA_DAV_INVALID_CONFIG_VALUE
-
RA_DAV_PATH_NOT_FOUND
-
RA_DAV_PROPPATCH_FAILED
-
RA_DAV_MALFORMED_DATA
-
RA_DAV_RESPONSE_HEADER_BADNESS
-
RA_DAV_PRECONDITION_FAILED
-
RA_DAV_METHOD_NOT_ALLOWED
-
RA_DAV_RELOCATED
- Since:
- 1.2.0, SVN 1.5
-
RA_DAV_CONN_TIMEOUT
- Since:
- 1.7, SVN 1.7
-
RA_DAV_FORBIDDEN
- Since:
- 1.7, SVN 1.6
-
RA_LOCAL_REPOS_NOT_FOUND
-
RA_LOCAL_REPOS_OPEN_FAILED
-
RA_SVN_CMD_ERR
-
RA_SVN_UNKNOWN_CMD
-
RA_SVN_CONNECTION_CLOSED
-
RA_SVN_IO_ERROR
-
RA_SVN_MALFORMED_DATA
-
RA_SVN_REPOS_NOT_FOUND
-
RA_SVN_BAD_VERSION
-
AUTHN_CREDS_UNAVAILABLE
-
AUTHN_NO_PROVIDER
-
AUTHN_PROVIDERS_EXHAUSTED
-
AUTHN_CREDS_NOT_SAVED
-
AUTHZ_ROOT_UNREADABLE
-
AUTHZ_UNREADABLE
-
AUTHZ_PARTIALLY_READABLE
-
AUTHZ_INVALID_CONFIG
-
AUTHZ_UNWRITABLE
-
SVNDIFF_INVALID_HEADER
-
SVNDIFF_CORRUPT_WINDOW
-
SVNDIFF_BACKWARD_VIEW
-
SVNDIFF_INVALID_OPS
-
SVNDIFF_UNEXPECTED_END
-
APMOD_MISSING_PATH_TO_FS
-
APMOD_MALFORMED_URI
-
APMOD_ACTIVITY_NOT_FOUND
-
APMOD_BAD_BASELINE
-
APMOD_CONNECTION_ABORTED
-
CLIENT_VERSIONED_PATH_REQUIRED
-
CLIENT_RA_ACCESS_REQUIRED
-
CLIENT_BAD_REVISION
-
CLIENT_DUPLICATE_COMMIT_URL
-
CLIENT_IS_BINARY_FILE
-
CLIENT_INVALID_EXTERNALS_DESCRIPTION
-
CLIENT_MODIFIED
-
CLIENT_IS_DIRECTORY
-
CLIENT_REVISION_RANGE
-
CLIENT_INVALID_RELOCATION
-
CLIENT_REVISION_AUTHOR_CONTAINS_NEWLINE
-
CLIENT_PROPERTY_NAME
-
CLIENT_UNRELATED_RESOURCES
-
CLIENT_MISSING_LOCK_TOKEN
-
CLIENT_MULTIPLE_SOURCES_DISALLOWED
- Since:
- 1.2.0, SVN 1.5
-
CLIENT_NO_VERSIONED_PARENT
- Since:
- 1.2.0, SVN 1.5
-
CLIENT_NOT_READY_TO_MERGE
- Since:
- 1.2.0, SVN 1.5
-
CLIENT_FILE_EXTERNAL_OVERWRITE_VERSIONED
- Since:
- 1.3, SVN 1.6
-
CLIENT_BAD_STRIP_COUNT
- Since:
- 1.7, SVN 1.7
-
CLIENT_CYCLE_DETECTED
- Since:
- 1.7, SVN 1.7
-
CLIENT_MERGE_UPDATE_REQUIRED
- Since:
- 1.7, SVN 1.7
-
CLIENT_INVALID_MERGEINFO_NO_MERGETRACKING
- Since:
- 1.7, SVN 1.7
-
CLIENT_NO_LOCK_TOKEN
- Since:
- 1.7, SVN 1.7
-
CLIENT_FORBIDDEN_BY_SERVER
- Since:
- 1.7, SVN 1.7
-
BASE
-
PLUGIN_LOAD_FAILURE
-
MALFORMED_FILE
-
INCOMPLETE_DATA
-
INCORRECT_PARAMS
-
UNVERSIONED_RESOURCE
-
TEST_FAILED
-
UNSUPPORTED_FEATURE
-
BAD_PROP_KIND
-
ILLEGAL_TARGET
-
DELTA_MD5_CHECKSUM_ABSENT
-
DIR_NOT_EMPTY
-
EXTERNAL_PROGRAM
-
SWIG_PY_EXCEPTION_SET
-
CHECKSUM_MISMATCH
-
CANCELLED
-
INVALID_DIFF_OPTION
-
PROPERTY_NOT_FOUND
-
NO_AUTH_FILE_PATH
-
VERSION_MISMATCH
-
MERGE_INFO_PARSE_ERROR
- Since:
- 1.2.0, SVN 1.5
-
CEASE_INVOCATION
- Since:
- 1.2.0, SVN 1.5
-
REVISION_NUMBER_PARSE_ERROR
- Since:
- 1.2.0, SVN 1.5
-
ITER_BREAK
- Since:
- 1.2.0, SVN 1.5
-
UNKNOWN_CHANGELIST
- Since:
- 1.2.0, SVN 1.5
-
RESERVED_FILENAME_SPECIFIED
- Since:
- 1.3, SVN 1.6
-
UNKNOWN_CAPABILITY
- Since:
- 1.3, SVN 1.6
-
TEST_SKIPPED
- Since:
- 1.3, SVN 1.6
-
ATOMIC_INIT_FAILURE
- Since:
- 1.3, SVN 1.6
-
SQLITE_ERROR
- Since:
- 1.3, SVN 1.6
-
SQLITE_READONLY
- Since:
- 1.3, SVN 1.6
-
UNSUPPORTED_SCHEMA
- Since:
- 1.3, SVN 1.6
-
CL_ARG_PARSING_ERROR
-
CL_INSUFFICIENT_ARGS
-
CL_MUTUALLY_EXCLUSIVE_ARGS
-
CL_ADM_DIR_RESERVED
-
CL_LOG_MESSAGE_IS_VERSIONED_FILE
-
CL_LOG_MESSAGE_IS_PATHNAME
-
CL_COMMIT_IN_ADDED_DIR
-
CL_NO_EXTERNAL_EDITOR
-
CL_BAD_LOG_MESSAGE
-
CL_UNNECESSARY_LOG_MESSAGE
-
CL_NO_EXTERNAL_MERGE_TOOL
- Since:
- 1.2.0, SVN 1.5
-
CL_ERROR_PROCESSING_EXTERNALS
-
ASSERTION_FAIL
- Since:
- 1.3.3
-
BAD_CHANGELIST_NAME
- Since:
- New in 1.7.
-
-
Constructor Details
-
SVNErrorCode
protected SVNErrorCode(int category, int index, java.lang.String description)
-
-
Method Details
-
getErrorCode
Gets an error code object given its unique error code number. If no definite error code objects corresponds to the provided value, returnsUNKNOWN.- Parameters:
code- an error code number- Returns:
- a corresponding SVNErrorCode.
-
getCode
public int getCode()Returns a unique error code value.- Returns:
- an error code number
-
getCategory
public int getCategory()Returns the category this error code object belongs to.- Returns:
- an error code category
-
getDescription
public java.lang.String getDescription()Returns a description of this error.- Returns:
- an error description common for all errors of the same error code
-
hashCode
public int hashCode()Returns a hash code for this object.- Overrides:
hashCodein classjava.lang.Object- Returns:
- hash code value
-
equals
public boolean equals(java.lang.Object o) Says if the given object and this one are equal.- Overrides:
equalsin classjava.lang.Object- Parameters:
o- an object to compare with- Returns:
- true if equals, false otherwise
-
isAuthentication
public boolean isAuthentication()Says if this error is an authentication error.- Returns:
- true if it is, false otherwise
-
readResolve
private java.lang.Object readResolve() -
toString
public java.lang.String toString()Gives a string representation of this object.- Overrides:
toStringin classjava.lang.Object- Returns:
- a string representing this object
-