nl.toolforge.karma.core.vc.cvsimpl
Class CVSException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bynl.toolforge.karma.core.vc.VersionControlException
              extended bynl.toolforge.karma.core.vc.cvsimpl.CVSException
All Implemented Interfaces:
java.io.Serializable

public class CVSException
extends VersionControlException

Exceptions related to CVS stuff.

Version:
$Id:
Author:
D.A. Smedes
See Also:
Serialized Form

Field Summary
static ErrorCode AUTHENTICATION_ERROR
          Authentication against a CVS repository failed.
static java.lang.String EXCEPTION_PREFIX
           
static ErrorCode FILE_EXISTS_IN_REPOSITORY
          The file that is added to a repository already exists
static ErrorCode INTERNAL_ERROR
          Wrapper around org.netbeans.lib.cvsclient.command.CommandException.
static ErrorCode INVALID_CVSROOT
          When no valid CVSROOT could be compiled from CVSRepository instance variables.
static ErrorCode INVALID_SYMBOLIC_NAME
          Symbolic name rejected by CVS
static ErrorCode LOCAL_MODULE_ERROR
          When something is wrong with the local copy of a module.
static ErrorCode MODULE_EXISTS_IN_REPOSITORY
          The module already exists in the repository.
static ErrorCode MODULE_HISTORY_ERROR
          Error thrown when writing the module history failed.
static ErrorCode SECURITY_VIOLATION
          When the cvs reports a security violation.
static ErrorCode TEMPLATE_CREATION_FAILED
          Error thrown when copying the module templates failed failed.
static ErrorCode VERSION_NOT_FOUND
          Version not found for the module.
 
Fields inherited from class nl.toolforge.karma.core.vc.VersionControlException
DUPLICATE_VERSION, MISSING_LOCATION, MODULE_NOT_IN_REPOSITORY
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
CVSException(ErrorCode errorCode)
           
CVSException(ErrorCode errorCode, java.lang.Object[] messageArguments)
           
CVSException(java.lang.Throwable t, ErrorCode errorCode)
           
CVSException(java.lang.Throwable t, ErrorCode errorCode, java.lang.Object[] messageArguments)
           
 
Methods inherited from class nl.toolforge.karma.core.vc.VersionControlException
getErrorCode, getMessage, getMessageArguments
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EXCEPTION_PREFIX

public static java.lang.String EXCEPTION_PREFIX

INVALID_CVSROOT

public static final ErrorCode INVALID_CVSROOT
When no valid CVSROOT could be compiled from CVSRepository instance variables.


AUTHENTICATION_ERROR

public static final ErrorCode AUTHENTICATION_ERROR
Authentication against a CVS repository failed.


MODULE_EXISTS_IN_REPOSITORY

public static final ErrorCode MODULE_EXISTS_IN_REPOSITORY
The module already exists in the repository.


FILE_EXISTS_IN_REPOSITORY

public static final ErrorCode FILE_EXISTS_IN_REPOSITORY
The file that is added to a repository already exists


VERSION_NOT_FOUND

public static final ErrorCode VERSION_NOT_FOUND
Version not found for the module. This error occurs when no symbolic name exists for the module that identifies the version.


INVALID_SYMBOLIC_NAME

public static final ErrorCode INVALID_SYMBOLIC_NAME
Symbolic name rejected by CVS


INTERNAL_ERROR

public static final ErrorCode INTERNAL_ERROR
Wrapper around org.netbeans.lib.cvsclient.command.CommandException. Can occur when processing the response from CVS or when the command was aborted.


LOCAL_MODULE_ERROR

public static final ErrorCode LOCAL_MODULE_ERROR
When something is wrong with the local copy of a module.


SECURITY_VIOLATION

public static final ErrorCode SECURITY_VIOLATION
When the cvs reports a security violation. Generally caused by the fact that the user has to write access to the


MODULE_HISTORY_ERROR

public static final ErrorCode MODULE_HISTORY_ERROR
Error thrown when writing the module history failed.


TEMPLATE_CREATION_FAILED

public static final ErrorCode TEMPLATE_CREATION_FAILED
Error thrown when copying the module templates failed failed.

Constructor Detail

CVSException

public CVSException(ErrorCode errorCode)

CVSException

public CVSException(java.lang.Throwable t,
                    ErrorCode errorCode)

CVSException

public CVSException(ErrorCode errorCode,
                    java.lang.Object[] messageArguments)

CVSException

public CVSException(java.lang.Throwable t,
                    ErrorCode errorCode,
                    java.lang.Object[] messageArguments)


Copyright © 2002-2004 Toolforge. All Rights Reserved.