org.tmatesoft.svn.core
Class SVNErrorCode
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.
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.
|
public static final int APMOD_CATEGORY
public static final int AUTHN_CATEGORY
public static final int AUTHZ_CATEGORY
public static final int BAD_CATEGORY
public static final int CLIENT_CATEGORY
public static final
SVNErrorCode CLIENT_DUPLICATE_COMMIT_URL
public static final
SVNErrorCode CLIENT_INVALID_EXTERNALS_DESCRIPTION
public static final
SVNErrorCode CLIENT_REVISION_AUTHOR_CONTAINS_NEWLINE
public static final
SVNErrorCode CLIENT_VERSIONED_PATH_REQUIRED
public static final int CL_CATEGORY
public static final
SVNErrorCode CL_LOG_MESSAGE_IS_VERSIONED_FILE
public static final int ENTRY_CATEGORY
public static final int FS_CATEGORY
public static final
SVNErrorCode FS_NOT_SINGLE_PATH_COMPONENT
public static final int IO_CATEGORY
public static final int MISC_CATEGORY
public static final int NODE_CATEGORY
public static final int RA_CATEGORY
public static final int RA_DAV_CATEGORY
public static final
SVNErrorCode RA_DAV_INVALID_CONFIG_VALUE
public static final
SVNErrorCode RA_DAV_RESPONSE_HEADER_BADNESS
public static final int RA_LOCAL_CATEGORY
public static final int RA_SVN_CATEGORY
public static final int REPOS_CATEGORY
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 int STREAM_CATEGORY
public static final int SVNDIFF_CATEGORY
public static final int WC_CATEGORY
public static final int XML_CATEGORY
protected SVNErrorCode(int category, int index, String description)
public boolean equals(Object o)
Says if the given object and this one are equal.
Parameters: o an object to compare with
Returns: true if equals,
false otherwise
public int getCategory()
Returns the category this error code object belongs to.
Returns: an error code category
public int getCode()
Returns a unique error code value.
Returns: an error code number
public String getDescription()
Returns a description of this error.
Returns: an error description common for all errors of the same
error code
Gets an error code object given its unique error code number.
If no definite error code objects corresponds to the provided
value, returns
UNKNOWN.
Parameters: code an error code number
Returns: a corresponding SVNErrorCode.
public int hashCode()
Returns a hash code for this object.
Returns: hash code value
public boolean isAuthentication()
Says if this error is an authentication error.
Returns: true if it is,
false otherwise
public String toString()
Gives a string representation of this object.
Returns: a string representing this object
Copyright © 2004-2007 TMate Software Ltd. All Rights Reserved.