SVNKit Home

org.tmatesoft.svn.core
Class SVNErrorCode

java.lang.Object
  extended byorg.tmatesoft.svn.core.SVNErrorCode
All Implemented Interfaces:
Serializable

public class SVNErrorCode
extends Object
implements 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.

Version:
1.1.1
Author:
TMate Software Ltd.
See Also:
Serialized Form

Field Summary
static SVNErrorCode APMOD_ACTIVITY_NOT_FOUND
           
static SVNErrorCode APMOD_BAD_BASELINE
           
static int APMOD_CATEGORY
           
static SVNErrorCode APMOD_CONNECTION_ABORTED
           
static SVNErrorCode APMOD_MALFORMED_URI
           
static SVNErrorCode APMOD_MISSING_PATH_TO_FS
           
static int AUTHN_CATEGORY
           
static SVNErrorCode AUTHN_CREDS_NOT_SAVED
           
static SVNErrorCode AUTHN_CREDS_UNAVAILABLE
           
static SVNErrorCode AUTHN_NO_PROVIDER
           
static SVNErrorCode AUTHN_PROVIDERS_EXHAUSTED
           
static int AUTHZ_CATEGORY
           
static SVNErrorCode AUTHZ_INVALID_CONFIG
           
static SVNErrorCode AUTHZ_PARTIALLY_READABLE
           
static SVNErrorCode AUTHZ_ROOT_UNREADABLE
           
static SVNErrorCode AUTHZ_UNREADABLE
           
static SVNErrorCode AUTHZ_UNWRITABLE
           
static int BAD_CATEGORY
           
static SVNErrorCode BAD_CONTAINING_POOL
           
static SVNErrorCode BAD_DATE
           
static SVNErrorCode BAD_FILENAME
           
static SVNErrorCode BAD_MIME_TYPE
           
static SVNErrorCode BAD_PROP_KIND
           
static SVNErrorCode BAD_URL
           
static SVNErrorCode BAD_VERSION_FILE_FORMAT
           
static SVNErrorCode BASE
           
static SVNErrorCode CANCELLED
           
static SVNErrorCode CHECKSUM_MISMATCH
           
static SVNErrorCode CL_ADM_DIR_RESERVED
           
static SVNErrorCode CL_ARG_PARSING_ERROR
           
static SVNErrorCode CL_BAD_LOG_MESSAGE
           
static int CL_CATEGORY
           
static SVNErrorCode CL_COMMIT_IN_ADDED_DIR
           
static SVNErrorCode CL_INSUFFICIENT_ARGS
           
static SVNErrorCode CL_LOG_MESSAGE_IS_PATHNAME
           
static SVNErrorCode CL_LOG_MESSAGE_IS_VERSIONED_FILE
           
static SVNErrorCode CL_MUTUALLY_EXCLUSIVE_ARGS
           
static SVNErrorCode CL_NO_EXTERNAL_EDITOR
           
static SVNErrorCode CL_UNNECESSARY_LOG_MESSAGE
           
static SVNErrorCode CLIENT_BAD_REVISION
           
static int CLIENT_CATEGORY
           
static SVNErrorCode CLIENT_DUPLICATE_COMMIT_URL
           
static SVNErrorCode CLIENT_INVALID_EXTERNALS_DESCRIPTION
           
static SVNErrorCode CLIENT_INVALID_RELOCATION
           
static SVNErrorCode CLIENT_IS_BINARY_FILE
           
static SVNErrorCode CLIENT_IS_DIRECTORY
           
static SVNErrorCode CLIENT_MISSING_LOCK_TOKEN
           
static SVNErrorCode CLIENT_MODIFIED
           
static SVNErrorCode CLIENT_PROPERTY_NAME
           
static SVNErrorCode CLIENT_RA_ACCESS_REQUIRED
           
static SVNErrorCode CLIENT_REVISION_AUTHOR_CONTAINS_NEWLINE
           
static SVNErrorCode CLIENT_REVISION_RANGE
           
static SVNErrorCode CLIENT_UNRELATED_RESOURCES
           
static SVNErrorCode CLIENT_VERSIONED_PATH_REQUIRED
           
static SVNErrorCode DELTA_MD5_CHECKSUM_ABSENT
           
static SVNErrorCode DIR_NOT_EMPTY
           
static SVNErrorCode ENTRY_ATTRIBUTE_INVALID
           
static int ENTRY_CATEGORY
           
static SVNErrorCode ENTRY_EXISTS
           
static SVNErrorCode ENTRY_MISSING_REVISION
           
static SVNErrorCode ENTRY_MISSING_URL
           
static SVNErrorCode ENTRY_NOT_FOUND
           
static SVNErrorCode EXTERNAL_PROGRAM
           
static SVNErrorCode FS_ALREADY_EXISTS
           
static SVNErrorCode FS_ALREADY_OPEN
           
static SVNErrorCode FS_BAD_LOCK_TOKEN
           
static SVNErrorCode FS_BERKELEY_DB
           
static SVNErrorCode FS_BERKELEY_DB_DEADLOCK
           
static int FS_CATEGORY
           
static SVNErrorCode FS_CLEANUP
           
static SVNErrorCode FS_CONFLICT
           
static SVNErrorCode FS_CORRUPT
           
static SVNErrorCode FS_GENERAL
           
static SVNErrorCode FS_ID_NOT_FOUND
           
static SVNErrorCode FS_LOCK_EXPIRED
           
static SVNErrorCode FS_LOCK_OWNER_MISMATCH
           
static SVNErrorCode FS_MALFORMED_SKEL
           
static SVNErrorCode FS_NO_LOCK_TOKEN
           
static SVNErrorCode FS_NO_SUCH_COPY
           
static SVNErrorCode FS_NO_SUCH_ENTRY
           
static SVNErrorCode FS_NO_SUCH_LOCK
           
static SVNErrorCode FS_NO_SUCH_REPRESENTATION
           
static SVNErrorCode FS_NO_SUCH_REVISION
           
static SVNErrorCode FS_NO_SUCH_STRING
           
static SVNErrorCode FS_NO_SUCH_TRANSACTION
           
static SVNErrorCode FS_NO_USER
           
static SVNErrorCode FS_NOT_DIRECTORY
           
static SVNErrorCode FS_NOT_FILE
           
static SVNErrorCode FS_NOT_FOUND
           
static SVNErrorCode FS_NOT_ID
           
static SVNErrorCode FS_NOT_MUTABLE
           
static SVNErrorCode FS_NOT_OPEN
           
static SVNErrorCode FS_NOT_REVISION_ROOT
           
static SVNErrorCode FS_NOT_SINGLE_PATH_COMPONENT
           
static SVNErrorCode FS_NOT_TXN_ROOT
           
static SVNErrorCode FS_OUT_OF_DATE
           
static SVNErrorCode FS_PATH_ALREADY_LOCKED
           
static SVNErrorCode FS_PATH_NOT_LOCKED
           
static SVNErrorCode FS_PATH_SYNTAX
           
static SVNErrorCode FS_REP_CHANGED
           
static SVNErrorCode FS_REP_NOT_MUTABLE
           
static SVNErrorCode FS_ROOT_DIR
           
static SVNErrorCode FS_TRANSACTION_DEAD
           
static SVNErrorCode FS_TRANSACTION_NOT_DEAD
           
static SVNErrorCode FS_TRANSACTION_NOT_MUTABLE
           
static SVNErrorCode FS_TXN_OUT_OF_DATE
           
static SVNErrorCode FS_UNKNOWN_FS_TYPE
           
static SVNErrorCode FS_UNSUPPORTED_FORMAT
           
static SVNErrorCode ILLEGAL_TARGET
           
static SVNErrorCode INCOMPLETE_DATA
           
static SVNErrorCode INCORRECT_PARAMS
           
static SVNErrorCode INVALID_DIFF_OPTION
           
static int IO_CATEGORY
           
static SVNErrorCode IO_CORRUPT_EOL
           
static SVNErrorCode IO_ERROR
           
static SVNErrorCode IO_INCONSISTENT_EOL
           
static SVNErrorCode IO_PIPE_FRAME_ERROR
           
static SVNErrorCode IO_PIPE_READ_ERROR
           
static SVNErrorCode IO_UNIQUE_NAMES_EXHAUSTED
           
static SVNErrorCode IO_UNKNOWN_EOL
           
static SVNErrorCode IO_WRITE_ERROR
           
static SVNErrorCode MALFORMED_FILE
           
static int MISC_CATEGORY
           
static SVNErrorCode NO_AUTH_FILE_PATH
           
static int NODE_CATEGORY
           
static SVNErrorCode NODE_UNEXPECTED_KIND
           
static SVNErrorCode NODE_UNKNOWN_KIND
           
static SVNErrorCode PLUGIN_LOAD_FAILURE
           
static SVNErrorCode PROPERTY_NOT_FOUND
           
static int RA_CATEGORY
           
static SVNErrorCode RA_DAV_ALREADY_EXISTS
           
static int RA_DAV_CATEGORY
           
static SVNErrorCode RA_DAV_CREATING_REQUEST
           
static SVNErrorCode RA_DAV_INVALID_CONFIG_VALUE
           
static SVNErrorCode RA_DAV_MALFORMED_DATA
           
static SVNErrorCode RA_DAV_OPTIONS_REQ_FAILED
           
static SVNErrorCode RA_DAV_PATH_NOT_FOUND
           
static SVNErrorCode RA_DAV_PROPPATCH_FAILED
           
static SVNErrorCode RA_DAV_PROPS_NOT_FOUND
           
static SVNErrorCode RA_DAV_REQUEST_FAILED
           
static SVNErrorCode RA_DAV_RESPONSE_HEADER_BADNESS
           
static SVNErrorCode RA_DAV_SOCK_INIT
           
static SVNErrorCode RA_ILLEGAL_URL
           
static int RA_LOCAL_CATEGORY
           
static SVNErrorCode RA_LOCAL_REPOS_NOT_FOUND
           
static SVNErrorCode RA_LOCAL_REPOS_OPEN_FAILED
           
static SVNErrorCode RA_NO_REPOS_UUID
           
static SVNErrorCode RA_NOT_AUTHORIZED
           
static SVNErrorCode RA_NOT_IMPLEMENTED
           
static SVNErrorCode RA_NOT_LOCKED
           
static SVNErrorCode RA_OUT_OF_DATE
           
static SVNErrorCode RA_SVN_BAD_VERSION
           
static int RA_SVN_CATEGORY
           
static SVNErrorCode RA_SVN_CMD_ERR
           
static SVNErrorCode RA_SVN_CONNECTION_CLOSED
           
static SVNErrorCode RA_SVN_IO_ERROR
           
static SVNErrorCode RA_SVN_MALFORMED_DATA
           
static SVNErrorCode RA_SVN_REPOS_NOT_FOUND
           
static SVNErrorCode RA_SVN_UNKNOWN_CMD
           
static SVNErrorCode RA_UNKNOWN_AUTH
           
static SVNErrorCode RA_UNSUPPORTED_ABI_VERSION
           
static SVNErrorCode REPOS_BAD_ARGS
           
static SVNErrorCode REPOS_BAD_REVISION_REPORT
           
static int REPOS_CATEGORY
           
static SVNErrorCode REPOS_DISABLED_FEATURE
           
static SVNErrorCode REPOS_HOOK_FAILURE
           
static SVNErrorCode REPOS_LOCKED
           
static SVNErrorCode REPOS_NO_DATA_FOR_REPORT
           
static SVNErrorCode REPOS_POST_COMMIT_HOOK_FAILED
           
static SVNErrorCode REPOS_POST_LOCK_HOOK_FAILED
           
static SVNErrorCode REPOS_POST_UNLOCK_HOOK_FAILED
           
static SVNErrorCode REPOS_UNSUPPORTED_VERSION
           
static int STREAM_CATEGORY
           
static SVNErrorCode STREAM_MALFORMED_DATA
           
static SVNErrorCode STREAM_UNEXPECTED_EOF
           
static SVNErrorCode STREAM_UNRECOGNIZED_DATA
           
static SVNErrorCode SVNDIFF_BACKWARD_VIEW
           
static int SVNDIFF_CATEGORY
           
static SVNErrorCode SVNDIFF_CORRUPT_WINDOW
           
static SVNErrorCode SVNDIFF_INVALID_HEADER
           
static SVNErrorCode SVNDIFF_INVALID_OPS
           
static SVNErrorCode SVNDIFF_UNEXPECTED_END
           
static SVNErrorCode SWIG_PY_EXCEPTION_SET
           
static SVNErrorCode TEST_FAILED
           
static SVNErrorCode UNKNOWN
           
static SVNErrorCode UNSUPPORTED_FEATURE
           
static SVNErrorCode UNVERSIONED_RESOURCE
           
static SVNErrorCode VERSION_MISMATCH
           
static SVNErrorCode WC_BAD_ADM_LOG
           
static SVNErrorCode WC_BAD_ADM_LOG_START
           
static SVNErrorCode WC_BAD_PATH
           
static int WC_CATEGORY
           
static SVNErrorCode WC_CORRUPT
           
static SVNErrorCode WC_CORRUPT_TEXT_BASE
           
static SVNErrorCode WC_FOUND_CONFLICT
           
static SVNErrorCode WC_INVALID_LOCK
           
static SVNErrorCode WC_INVALID_OP_ON_CWD
           
static SVNErrorCode WC_INVALID_RELOCATION
           
static SVNErrorCode WC_INVALID_SCHEDULE
           
static SVNErrorCode WC_INVALID_SWITCH
           
static SVNErrorCode WC_LEFT_LOCAL_MOD
           
static SVNErrorCode WC_LOCKED
           
static SVNErrorCode WC_NODE_KIND_CHANGE
           
static SVNErrorCode WC_NOT_DIRECTORY
           
static SVNErrorCode WC_NOT_FILE
           
static SVNErrorCode WC_NOT_LOCKED
           
static SVNErrorCode WC_NOT_UP_TO_DATE
           
static SVNErrorCode WC_OBSTRUCTED_UPDATE
           
static SVNErrorCode WC_PATH_FOUND
           
static SVNErrorCode WC_PATH_NOT_FOUND
           
static SVNErrorCode WC_SCHEDULE_CONFLICT
           
static SVNErrorCode WC_UNSUPPORTED_FORMAT
           
static SVNErrorCode WC_UNWIND_EMPTY
           
static SVNErrorCode WC_UNWIND_MISMATCH
           
static SVNErrorCode WC_UNWIND_NOT_EMPTY
           
static SVNErrorCode XML_ATTRIB_NOT_FOUND
           
static int XML_CATEGORY
           
static SVNErrorCode XML_MALFORMED
           
static SVNErrorCode XML_MISSING_ANCESTRY
           
static SVNErrorCode XML_UNESCAPABLE_DATA
           
static SVNErrorCode XML_UNKNOWN_ENCODING
           
 
Constructor Summary
protected SVNErrorCode(int category, int index, String description)
           
 
Method Summary
 boolean equals(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.
 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.
 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

BAD_CATEGORY

public static final int BAD_CATEGORY
See Also:
Constant Field Values

XML_CATEGORY

public static final int XML_CATEGORY
See Also:
Constant Field Values

IO_CATEGORY

public static final int IO_CATEGORY
See Also:
Constant Field Values

STREAM_CATEGORY

public static final int STREAM_CATEGORY
See Also:
Constant Field Values

NODE_CATEGORY

public static final int NODE_CATEGORY
See Also:
Constant Field Values

ENTRY_CATEGORY

public static final int ENTRY_CATEGORY
See Also:
Constant Field Values

WC_CATEGORY

public static final int WC_CATEGORY
See Also:
Constant Field Values

FS_CATEGORY

public static final int FS_CATEGORY
See Also:
Constant Field Values

REPOS_CATEGORY

public static final int REPOS_CATEGORY
See Also:
Constant Field Values

RA_CATEGORY

public static final int RA_CATEGORY
See Also:
Constant Field Values

RA_DAV_CATEGORY

public static final int RA_DAV_CATEGORY
See Also:
Constant Field Values

RA_LOCAL_CATEGORY

public static final int RA_LOCAL_CATEGORY
See Also:
Constant Field Values

SVNDIFF_CATEGORY

public static final int SVNDIFF_CATEGORY
See Also:
Constant Field Values

APMOD_CATEGORY

public static final int APMOD_CATEGORY
See Also:
Constant Field Values

CLIENT_CATEGORY

public static final int CLIENT_CATEGORY
See Also:
Constant Field Values

MISC_CATEGORY

public static final int MISC_CATEGORY
See Also:
Constant Field Values

CL_CATEGORY

public static final int CL_CATEGORY
See Also:
Constant Field Values

RA_SVN_CATEGORY

public static final int RA_SVN_CATEGORY
See Also:
Constant Field Values

AUTHN_CATEGORY

public static final int AUTHN_CATEGORY
See Also:
Constant Field Values

AUTHZ_CATEGORY

public static final int AUTHZ_CATEGORY
See Also:
Constant Field Values

UNKNOWN

public static final SVNErrorCode UNKNOWN

IO_ERROR

public static final SVNErrorCode IO_ERROR

BAD_CONTAINING_POOL

public static final SVNErrorCode BAD_CONTAINING_POOL

BAD_FILENAME

public static final SVNErrorCode BAD_FILENAME

BAD_URL

public static final SVNErrorCode BAD_URL

BAD_DATE

public static final SVNErrorCode BAD_DATE

BAD_MIME_TYPE

public static final SVNErrorCode BAD_MIME_TYPE

BAD_VERSION_FILE_FORMAT

public static final SVNErrorCode BAD_VERSION_FILE_FORMAT

XML_ATTRIB_NOT_FOUND

public static final SVNErrorCode XML_ATTRIB_NOT_FOUND

XML_MISSING_ANCESTRY

public static final SVNErrorCode XML_MISSING_ANCESTRY

XML_UNKNOWN_ENCODING

public static final SVNErrorCode XML_UNKNOWN_ENCODING

XML_MALFORMED

public static final SVNErrorCode XML_MALFORMED

XML_UNESCAPABLE_DATA

public static final SVNErrorCode XML_UNESCAPABLE_DATA

IO_INCONSISTENT_EOL

public static final SVNErrorCode IO_INCONSISTENT_EOL

IO_UNKNOWN_EOL

public static final SVNErrorCode IO_UNKNOWN_EOL

IO_CORRUPT_EOL

public static final SVNErrorCode IO_CORRUPT_EOL

IO_UNIQUE_NAMES_EXHAUSTED

public static final SVNErrorCode IO_UNIQUE_NAMES_EXHAUSTED

IO_PIPE_FRAME_ERROR

public static final SVNErrorCode IO_PIPE_FRAME_ERROR

IO_PIPE_READ_ERROR

public static final SVNErrorCode IO_PIPE_READ_ERROR

IO_WRITE_ERROR

public static final SVNErrorCode IO_WRITE_ERROR

STREAM_UNEXPECTED_EOF

public static final SVNErrorCode STREAM_UNEXPECTED_EOF

STREAM_MALFORMED_DATA

public static final SVNErrorCode STREAM_MALFORMED_DATA

STREAM_UNRECOGNIZED_DATA

public static final SVNErrorCode STREAM_UNRECOGNIZED_DATA

NODE_UNKNOWN_KIND

public static final SVNErrorCode NODE_UNKNOWN_KIND

NODE_UNEXPECTED_KIND

public static final SVNErrorCode NODE_UNEXPECTED_KIND

ENTRY_NOT_FOUND

public static final SVNErrorCode ENTRY_NOT_FOUND

ENTRY_EXISTS

public static final SVNErrorCode ENTRY_EXISTS

ENTRY_MISSING_REVISION

public static final SVNErrorCode ENTRY_MISSING_REVISION

ENTRY_MISSING_URL

public static final SVNErrorCode ENTRY_MISSING_URL

ENTRY_ATTRIBUTE_INVALID

public static final SVNErrorCode ENTRY_ATTRIBUTE_INVALID

WC_OBSTRUCTED_UPDATE

public static final SVNErrorCode WC_OBSTRUCTED_UPDATE

WC_UNWIND_MISMATCH

public static final SVNErrorCode WC_UNWIND_MISMATCH

WC_UNWIND_EMPTY

public static final SVNErrorCode WC_UNWIND_EMPTY

WC_UNWIND_NOT_EMPTY

public static final SVNErrorCode WC_UNWIND_NOT_EMPTY

WC_LOCKED

public static final SVNErrorCode WC_LOCKED

WC_NOT_LOCKED

public static final SVNErrorCode WC_NOT_LOCKED

WC_INVALID_LOCK

public static final SVNErrorCode WC_INVALID_LOCK

WC_NOT_DIRECTORY

public static final SVNErrorCode WC_NOT_DIRECTORY

WC_NOT_FILE

public static final SVNErrorCode WC_NOT_FILE

WC_BAD_ADM_LOG

public static final SVNErrorCode WC_BAD_ADM_LOG