Uses of Class
nl.toolforge.karma.core.ErrorCode

Packages that use ErrorCode
nl.toolforge.karma.core The core package contains class for the very core of Karma. 
nl.toolforge.karma.core.boot   
nl.toolforge.karma.core.cmd   
nl.toolforge.karma.core.cmd.event   
nl.toolforge.karma.core.cmd.util   
nl.toolforge.karma.core.history The history package contains classes that are used for retrieving and storing the history of modules. 
nl.toolforge.karma.core.location The location package contains classes managing location objects. 
nl.toolforge.karma.core.manifest The manifest package contains all classes that comprise the manifest domain of Karma. 
nl.toolforge.karma.core.module   
nl.toolforge.karma.core.vc The vc package contains implementation code for connections and processing classes to version control systems. 
nl.toolforge.karma.core.vc.cvsimpl CVS implementation of the vc package. 
nl.toolforge.karma.core.vc.svnimpl Subversion implementation of the vc package. 
 

Uses of ErrorCode in nl.toolforge.karma.core
 

Fields in nl.toolforge.karma.core declared as ErrorCode
protected  ErrorCode KarmaRuntimeException.errorCode
           
static ErrorCode KarmaException.NOT_IMPLEMENTED
          Can be used to identify something that is not implemented
static ErrorCode KarmaException.DEFAULT_CONFIGURATION_CREATED
          Default configuration has been created.
static ErrorCode KarmaException.MISSING_CONFIGURATION
          Vital configuration is missing
static ErrorCode KarmaException.WORKING_CONTEXT_NOT_FOUND
           
static ErrorCode KarmaException.MANIFEST_STORE_NOT_FOUND
          When the manifest store directory could not be found.
static ErrorCode KarmaException.LOCATION_STORE_NOT_FOUND
          When the location store directory could not be found.
static ErrorCode KarmaException.DEVELOPMENT_HOME_NOT_FOUND
          No development home directory could be referenced to.
static ErrorCode KarmaException.MANIFEST_STORE_UPDATE_FAILED
          When updating the manifest store failed.
static ErrorCode KarmaException.LOCATION_STORE_UPDATE_FAILED
          When updating the location store failed.
static ErrorCode KarmaException.NO_MAVEN_PROJECT_XML
          The build of a module failed.
protected  ErrorCode KarmaException.errorCode
           
 

Methods in nl.toolforge.karma.core that return ErrorCode
 ErrorCode KarmaException.getErrorCode()
          Gets this instance' ErrorCode.
 

Constructors in nl.toolforge.karma.core with parameters of type ErrorCode
KarmaRuntimeException(ErrorCode errorCode)
           
KarmaRuntimeException(ErrorCode errorCode, java.lang.Throwable t)
           
KarmaRuntimeException(ErrorCode errorCode, java.lang.Object[] messageArguments)
           
KarmaRuntimeException(ErrorCode errorCode, java.lang.Object[] messageArguments, java.lang.Throwable t)
           
KarmaException(ErrorCode errorCode)
          Create a new KarmaException, with the specific errorCode.
KarmaException(ErrorCode errorCode, java.lang.Object[] messageArguments)
          Create a new KarmaException, with the specific errorCode and messageArguments.
KarmaException(ErrorCode errorCode, java.lang.Throwable t)
          Create a new KarmaException, with the specific errorCode and Throwable that caused the exception.
KarmaException(ErrorCode errorCode, java.lang.Object[] messageArguments, java.lang.Throwable t)
          Create a new KarmaException, with the specific errorCode and Throwable that caused the exception.
 

Uses of ErrorCode in nl.toolforge.karma.core.boot
 

Fields in nl.toolforge.karma.core.boot declared as ErrorCode
static ErrorCode WorkingContextConfiguration.CONFIGURATION_LOAD_ERROR
           
static ErrorCode WorkingContext.CANNOT_REMOVE_ACTIVE_WORKING_CONTEXT
           
static ErrorCode AdminStore.STORE_CONNECTION_FAILURE
           
static ErrorCode AdminStore.AUTHENTICATOR_NOT_FOUND
           
static ErrorCode AdminStore.STORE_MODULE_NO_IN_REPOSITORY
           
 

Methods in nl.toolforge.karma.core.boot that return ErrorCode
 ErrorCode WorkingContextConfiguration.check()
          Thorough checks of this configuration is valid, and if it is not, returns the ErrorCode to indicate what went wrong or null if nothing went wrong, and this configuration is ready to use.
 ErrorCode Store.checkConfiguration()
          Checks if the configuration of the store is ok.
 ErrorCode AdminStore.checkConfiguration()
           
 

Uses of ErrorCode in nl.toolforge.karma.core.cmd
 

Fields in nl.toolforge.karma.core.cmd declared as ErrorCode
static ErrorCode CommandLoadException.LOAD_FAILURE_FOR_DEFAULT_COMMANDS
           
static ErrorCode CommandLoadException.LOAD_FAILURE_FOR_PLUGIN_COMMANDS_FILE
           
static ErrorCode CommandLoadException.DUPLICATE_COMMAND
           
static ErrorCode CommandException.TEST_CODE
          Not to be used for business logic.
static ErrorCode CommandException.NO_IMPLEMENTING_CLASS
           
static ErrorCode CommandException.UNKNOWN_COMMAND
           
static ErrorCode CommandException.INVALID_COMMAND
          The command is invalid.
static ErrorCode CommandException.MISSING_OPTION
          A required option (see <required>-attributes for options in commands.xml.
static ErrorCode CommandException.MISSING_ARGUMENT
          Argument for a command option is missing.
static ErrorCode CommandException.INVALID_ARGUMENT
          Argument for a command option is invalid.
static ErrorCode CommandException.INVALID_OPTION
          Invalid option.
static ErrorCode CommandException.NO_OPTIONS_REQUIRED
          No arguments required.
static ErrorCode CommandException.BUILD_FAILED
          The build of a module failed.
static ErrorCode CommandException.BUILD_FAILED_TOO_MANY_MISSING_DEPENDENCIES
          The build of a module failed.
static ErrorCode CommandException.TEST_FAILED
          The test of a module failed.
static ErrorCode CommandException.TEST_REPORT_FAILED
          Generating the test report failed.
static ErrorCode CommandException.CLEAN_MODULE_FAILED
          The test of a module failed.
static ErrorCode CommandException.CLEAN_ALL_FAILED
          The test of a module failed.
static ErrorCode CommandException.PACKAGE_FAILED
          The packaging of a module failed.
static ErrorCode CommandException.PACKAGE_FAILED_NOTHING_TO_PACKAGE
          The packaging of a module failed.
static ErrorCode CommandException.PACKAGE_FAILED_NO_APPLICATION_XML
          The packaging of a module failed.
static ErrorCode CommandException.PACKAGE_FAILED_INVALID_APPLICATION_XML
          The packaging of a module failed.
static ErrorCode CommandException.PACKAGE_FAILED_WRONG_MODULE_TYPE
          The packaging of a module failed.
static ErrorCode CommandException.START_WORK_NOT_ALLOWED_ON_STATIC_MODULE
          When the manifest is a development manifest and the module is STATIC.
static ErrorCode CommandException.MODULE_TYPE_MUST_BE_BASEMODULE
          When the module is not (a descendant of) BaseModule.
static ErrorCode CommandException.PROMOTE_ONLY_ALLOWED_ON_WORKING_MODULE
          Promote command is not allowed on static and dynamic modules.
static ErrorCode CommandException.PROMOTE_WITH_INCREASE_MAJOR_VERSION_NOT_ALLOWED_ON_RELEASE_MANIFEST
          Promote command is not allowed on static and dynamic modules.
static ErrorCode CommandException.DEPENDENCY_DOES_NOT_EXIST
          The dependency that is referenced does not exists.
static ErrorCode CommandException.DEPENDENCY_FILE_INVALID
           
static ErrorCode CommandException.NO_SRC_DIR
          src/java (the default directory for a module where java sources are located) is missing.
static ErrorCode CommandException.NO_TEST_DIR
          test/java (the default directory for a module where test java sources are located) is missing.
static ErrorCode CommandException.UNCOMMITTED_NEW_FILES
           
static ErrorCode CommandException.UNCOMMITTED_CHANGED_FILES
           
static ErrorCode CommandException.UNCOMMITTED_REMOVED_FILES
           
static ErrorCode CommandException.NO_MODULE_BUILD_DIR
          build/<module> (the default directory for a module where built files are located) is missing.
static ErrorCode CommandException.NO_BUILD_DIR
          build (the default directory where built files are located) is missing.
static ErrorCode CommandException.MODULE_VERSION_ERROR
           
static ErrorCode CommandException.TEST_WARNING
           
static ErrorCode CommandException.BUILD_WARNING
           
static ErrorCode CommandException.INVALID_STATE_MODULE_NOT_WORKING
          Thrown when a module is not working and the user wants to stop work on it.
static ErrorCode CommandException.MODULE_NOT_LOCAL
           
static ErrorCode CommandException.INVALID_LOCATION_TYPE
          The location type is invalid.
static ErrorCode CommandException.CANNOT_INITIALIZE_WORKING_CONTEXT
          The working context could not be initialized.
static ErrorCode CommandException.MODULE_CANNOT_BE_WORKING_FOR_RELEASE_MANIFEST
          A module is encountered with state WORKING.
static ErrorCode CommandException.INVALID_WORKING_CONTEXT_CONFIGURATION
          Configuration for working context is invalid.
 

Methods in nl.toolforge.karma.core.cmd that return ErrorCode
 ErrorCode CommandLoadException.getErrorCode()
          Gets the exceptions' ErrorCode.
 ErrorCode CommandException.getErrorCode()
          Gets the exceptions' ErrorCode.
 

Constructors in nl.toolforge.karma.core.cmd with parameters of type ErrorCode
CommandLoadException(ErrorCode errorCode)
           
CommandLoadException(ErrorCode errorCode, java.lang.Object[] messageArguments)
           
CommandLoadException(java.lang.Throwable t, ErrorCode errorCode, java.lang.Object[] messageArguments)
           
CommandException(ErrorCode errorCode)
           
CommandException(java.lang.Throwable t, ErrorCode errorCode)
           
CommandException(ErrorCode errorCode, java.lang.Object[] messageArguments)
           
CommandException(java.lang.Throwable t, ErrorCode errorCode, java.lang.Object[] messageArguments)
           
 

Uses of ErrorCode in nl.toolforge.karma.core.cmd.event
 

Methods in nl.toolforge.karma.core.cmd.event that return ErrorCode
 ErrorCode ErrorEvent.getErrorCode()
          The exception that generated this event.
 

Constructors in nl.toolforge.karma.core.cmd.event with parameters of type ErrorCode
ErrorEvent(Command command, ErrorCode code)
          Creates the event for command.
ErrorEvent(ErrorCode code)
          Creates a MessageEvent not linked to any command.
ErrorEvent(Command command, ErrorCode code, java.lang.Object[] messageArguments)
          Creates the event for command.
ErrorEvent(ErrorCode code, java.lang.Object[] messageArguments)
          Creates a MessageEvent not linked to any command.
 

Uses of ErrorCode in nl.toolforge.karma.core.cmd.util
 

Fields in nl.toolforge.karma.core.cmd.util declared as ErrorCode
static ErrorCode DependencyException.DEPENDENCY_NOT_FOUND
          A dependency is configured, but cannot be found on a developers machine.
static ErrorCode DependencyException.MODULE_NOT_IN_MANIFEST
          A dependency on a module has been defined, but the module is not in the manifest
static ErrorCode DependencyException.DUPLICATE_ARTIFACT_VERSION
           
static ErrorCode DependencyException.EAR_DEPENDENCY_NOT_DEFINED
           
static ErrorCode DependencyException.EAR_DEPENDENCY_NOT_FOUND
           
 

Methods in nl.toolforge.karma.core.cmd.util that return ErrorCode
 ErrorCode DependencyException.getErrorCode()
          Gets the exceptions' ErrorCode.
 

Constructors in nl.toolforge.karma.core.cmd.util with parameters of type ErrorCode
DependencyException(ErrorCode errorCode)
           
DependencyException(ErrorCode errorCode, java.lang.Object[] messageArguments)
           
DependencyException(java.lang.Throwable t, ErrorCode errorCode, java.lang.Object[] messageArguments)
           
KarmaBuildException(ErrorCode r)
           
 

Uses of ErrorCode in nl.toolforge.karma.core.history
 

Fields in nl.toolforge.karma.core.history declared as ErrorCode
static ErrorCode ModuleHistoryException.INVALID_HISTORY_FILE
          When history.xml could not be parsed.
static ErrorCode ModuleHistoryException.HISTORY_FILE_DOES_NOT_EXIST
          When history.xml does not exist for the module.
static ErrorCode ModuleHistoryException.HISTORY_FILE_LOCATION_NOT_DEFINED
          When the location of the history.xml file has not been defined.
 

Methods in nl.toolforge.karma.core.history that return ErrorCode
 ErrorCode ModuleHistoryException.getErrorCode()
          Gets the exceptions' ErrorCode.
 

Constructors in nl.toolforge.karma.core.history with parameters of type ErrorCode
ModuleHistoryException(ErrorCode errorCode)
           
ModuleHistoryException(java.lang.Throwable t, ErrorCode errorCode)
           
ModuleHistoryException(ErrorCode errorCode, java.lang.Object[] messageArguments)
           
ModuleHistoryException(java.lang.Throwable t, ErrorCode errorCode, java.lang.Object[] messageArguments)
           
 

Uses of ErrorCode in nl.toolforge.karma.core.location
 

Fields in nl.toolforge.karma.core.location declared as ErrorCode
static ErrorCode LocationException.LOCATION_NOT_FOUND
          Location descriptor does not exist.
static ErrorCode LocationException.NO_LOCATION_DATA_FOUND
          No location files were found.
static ErrorCode LocationException.MISSING_LOCATION_PROPERTY
          Missing location property
static ErrorCode LocationException.INVALID_MANIFEST_STORE_LOCATION
          The manifest-store is configured based on properties in karma.properties.
static ErrorCode LocationException.INVALID_LOCATION_STORE_LOCATION
          The location-store is configured based on properties in karma.properties.
static ErrorCode LocationException.DUPLICATE_LOCATION_KEY
           
static ErrorCode LocationException.LOCATION_LOAD_ERROR
          An xml file with locations could not be loaded.
static ErrorCode LocationException.LOCATION_MISMATCH
          A LOCATION_MISMATCH occurs when a module is locally available and an update is requested from another location.
static ErrorCode LocationException.CONNECTION_EXCEPTION
          A connection to the location could not be made.
static ErrorCode LocationException.INVALID_LOCATION_TYPE
          The location was configured incorrectly.
static ErrorCode LocationException.INVALID_ELEMENT_VALUE
           
 

Methods in nl.toolforge.karma.core.location that return ErrorCode
 ErrorCode LocationException.getErrorCode()
          Gets the exceptions' ErrorCode.
 

Constructors in nl.toolforge.karma.core.location with parameters of type ErrorCode
LocationException(ErrorCode errorCode)
           
LocationException(java.lang.Throwable t, ErrorCode errorCode)
           
LocationException(ErrorCode errorCode, java.lang.Object[] messageArguments)
           
LocationException(java.lang.Throwable t, ErrorCode errorCode, java.lang.Object[] messageArguments)
           
 

Uses of ErrorCode in nl.toolforge.karma.core.manifest
 

Fields in nl.toolforge.karma.core.manifest declared as ErrorCode
static ErrorCode ManifestException.MANIFEST_NAME_RECURSION
          When a manifest is included with the same name as an already loaded manifest.
static ErrorCode ManifestException.DUPLICATE_MODULE
          When a duplicate module-name is encountered in a manifest.
static ErrorCode ManifestException.MANIFEST_FILE_NOT_FOUND
          When the manifest file cannot be found on the users' local harddisk.
static ErrorCode ManifestException.MODULE_NOT_FOUND
          When a module does not exist in the manifest.
static ErrorCode ManifestException.MANIFEST_LOAD_ERROR
          When the manifest could not be loaded from disk.
static ErrorCode ManifestException.NO_ACTIVE_MANIFEST
          If there is no active manifest (none loaded).
static ErrorCode ManifestException.INVALID_LOCAL_PATH
          When the local path to the manifest on disk is invalid.
static ErrorCode ManifestException.STATE_UPDATE_FAILURE
          When the state update for a module failed.
static ErrorCode ManifestException.DEPENDENCY_FILE_NOT_FOUND
          When a modules' project.xml cannot be found.
static ErrorCode ManifestException.MODULE_NOT_LOCAL
          When a module has not yet been checked out for this manifest
static ErrorCode ManifestException.DEPENDENCY_FILE_LOAD_ERROR
          When the dependencies.xml file could not be loaded correctly.
static ErrorCode ManifestException.MODULE_WITHOUT_VERSION
          When the manifest is a ReleaseManifest all modules should have a version attribute.
static ErrorCode ManifestException.DUPLICATE_MANIFEST_FILE
           
 

Methods in nl.toolforge.karma.core.manifest that return ErrorCode
 ErrorCode ManifestException.getErrorCode()
          Gets the exceptions' ErrorCode.
 

Constructors in nl.toolforge.karma.core.manifest with parameters of type ErrorCode
ManifestException(ErrorCode errorCode)
           
ManifestException(ErrorCode errorCode, java.lang.Object[] messageArguments)
           
ManifestException(java.lang.Throwable t, ErrorCode errorCode, java.lang.Object[] messageArguments)
           
 

Uses of ErrorCode in nl.toolforge.karma.core.module
 

Fields in nl.toolforge.karma.core.module declared as ErrorCode
static ErrorCode ModuleTypeException.MISSING_MODULE_DESCRIPTOR
           
static ErrorCode ModuleTypeException.INVALID_MODULE_DESCRIPTOR
           
 

Methods in nl.toolforge.karma.core.module that return ErrorCode
 ErrorCode ModuleTypeException.getErrorCode()
          Gets the exceptions' ErrorCode.
 

Constructors in nl.toolforge.karma.core.module with parameters of type ErrorCode
ModuleTypeException(ErrorCode errorCode)
           
ModuleTypeException(ErrorCode errorCode, java.lang.Object[] messageArguments)
           
ModuleTypeException(java.lang.Throwable t, ErrorCode errorCode, java.lang.Object[] messageArguments)
           
 

Uses of ErrorCode in nl.toolforge.karma.core.vc
 

Fields in nl.toolforge.karma.core.vc declared as ErrorCode
static ErrorCode VersionControlException.DUPLICATE_VERSION
          Version already exists for this module.
static ErrorCode VersionControlException.MODULE_NOT_IN_REPOSITORY
          The requested module does not exist in the repository
static ErrorCode VersionControlException.MISSING_LOCATION
          A Location instance was required, but missing.
static ErrorCode AuthenticationException.INVALID_AUTHENTICATOR_CONFIGURATION
          When the authenticator configuration is invalid.
static ErrorCode AuthenticationException.MISSING_AUTHENTICATOR_CONFIGURATION
          When the location-type requires authentication configuration to be present.
static ErrorCode AuthenticationException.DUPLICATE_AUTHENTICATOR_KEY
          No authenticator entry is configured that matches the location alias (the id-attribute).
static ErrorCode AuthenticationException.AUTHENTICATOR_LOAD_ERROR
          When the authenticators.xml file could not be read properly.
static ErrorCode AuthenticationException.AUTHENTICATOR_NOT_FOUND
          No authenticator entry is configured that matches the location alias (the id-attribute).
static ErrorCode AuthenticationException.AUTHENTICATOR_WRITE_ERROR
          Could not write authenticators.xml
static ErrorCode AuthenticationException.MISSING_USERNAME
          Username is missing while configuring a new authenticator.
 

Methods in nl.toolforge.karma.core.vc that return ErrorCode
 ErrorCode VersionControlException.getErrorCode()
          Gets the exceptions' ErrorCode.
 ErrorCode AuthenticationException.getErrorCode()
          Gets the exceptions' ErrorCode.
 

Constructors in nl.toolforge.karma.core.vc with parameters of type ErrorCode
VersionControlException(ErrorCode errorCode)
           
VersionControlException(java.lang.Throwable t, ErrorCode errorCode)
           
VersionControlException(ErrorCode errorCode, java.lang.Object[] messageArguments)
           
VersionControlException(java.lang.Throwable t, ErrorCode errorCode, java.lang.Object[] messageArguments)
           
AuthenticationException(ErrorCode errorCode)
           
AuthenticationException(java.lang.Throwable t, ErrorCode errorCode)
           
AuthenticationException(ErrorCode errorCode, java.lang.Object[] messageArguments)
           
AuthenticationException(java.lang.Throwable t, ErrorCode errorCode, java.lang.Object[] messageArguments)
           
 

Uses of ErrorCode in nl.toolforge.karma.core.vc.cvsimpl
 

Fields in nl.toolforge.karma.core.vc.cvsimpl declared as ErrorCode
static ErrorCode CVSException.INVALID_CVSROOT
          When no valid CVSROOT could be compiled from CVSRepository instance variables.
static ErrorCode CVSException.AUTHENTICATION_ERROR
          Authentication against a CVS repository failed.
static ErrorCode CVSException.MODULE_EXISTS_IN_REPOSITORY
          The module already exists in the repository.
static ErrorCode CVSException.FILE_EXISTS_IN_REPOSITORY
          The file that is added to a repository already exists
static ErrorCode CVSException.VERSION_NOT_FOUND
          Version not found for the module.
static ErrorCode CVSException.INVALID_SYMBOLIC_NAME
          Symbolic name rejected by CVS
static ErrorCode CVSException.INTERNAL_ERROR
          Wrapper around org.netbeans.lib.cvsclient.command.CommandException.
static ErrorCode CVSException.LOCAL_MODULE_ERROR
          When something is wrong with the local copy of a module.
static ErrorCode CVSException.SECURITY_VIOLATION
          When the cvs reports a security violation.
static ErrorCode CVSException.MODULE_HISTORY_ERROR
          Error thrown when writing the module history failed.
static ErrorCode CVSException.TEMPLATE_CREATION_FAILED
          Error thrown when copying the module templates failed failed.
 

Methods in nl.toolforge.karma.core.vc.cvsimpl that return ErrorCode
 ErrorCode CVSRuntimeException.getErrorCode()
          Gets the exceptions' ErrorCode.
 

Constructors in nl.toolforge.karma.core.vc.cvsimpl with parameters of type ErrorCode
CVSRuntimeException(ErrorCode errorCode)
          Constructs a CVSRuntimeException, with a non-null ErrorCode.
CVSRuntimeException(java.lang.Throwable t, ErrorCode errorCode)
           
CVSRuntimeException(ErrorCode errorCode, java.lang.Object[] messageArguments)
           
CVSRuntimeException(java.lang.Throwable t, ErrorCode errorCode, java.lang.Object[] messageArguments)
           
CVSException(ErrorCode errorCode)
           
CVSException(java.lang.Throwable t, ErrorCode errorCode)
           
CVSException(ErrorCode errorCode, java.lang.Object[] messageArguments)
           
CVSException(java.lang.Throwable t, ErrorCode errorCode, java.lang.Object[] messageArguments)
           
 

Uses of ErrorCode in nl.toolforge.karma.core.vc.svnimpl
 

Fields in nl.toolforge.karma.core.vc.svnimpl declared as ErrorCode
static ErrorCode SVNException.INVALID_CVSROOT
          When no valid CVSROOT could be compiled from CVSRepository instance variables.
static ErrorCode SVNException.MODULE_EXISTS_IN_REPOSITORY
          The module already exists in the repository.
 

Constructors in nl.toolforge.karma.core.vc.svnimpl with parameters of type ErrorCode
SVNException(ErrorCode errorCode)
           
SVNException(java.lang.Throwable t, ErrorCode errorCode)
           
SVNException(ErrorCode errorCode, java.lang.Object[] messageArguments)
           
SVNException(java.lang.Throwable t, ErrorCode errorCode, java.lang.Object[] messageArguments)
           
 



Copyright © 2002-2004 Toolforge. All Rights Reserved.