Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjames2002-01-31 19:14:26 +0000
committerjames2002-01-31 19:14:26 +0000
commit7d8b168bc2681a07f54d9011f91f79b64f7e3b7a (patch)
treed6c269d2b3f91a2022d49cd7361f47b2dd373c0c
parent2351f4cf554e3130230aa1afd54321d9ef18cc77 (diff)
downloadeclipse.platform.team-7d8b168bc2681a07f54d9011f91f79b64f7e3b7a.tar.gz
eclipse.platform.team-7d8b168bc2681a07f54d9011f91f79b64f7e3b7a.tar.xz
eclipse.platform.team-7d8b168bc2681a07f54d9011f91f79b64f7e3b7a.zip
Fix validation error message
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/CVSRepositoryLocation.java2
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/messages.properties1
2 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/CVSRepositoryLocation.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/CVSRepositoryLocation.java
index 88bb4a311..f8bd933e1 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/CVSRepositoryLocation.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/CVSRepositoryLocation.java
@@ -270,7 +270,7 @@ public class CVSRepositoryLocation extends PlatformObject implements ICVSReposit
} catch (CVSException e) {
throw e;
} catch (OperationCanceledException e) {
- throw new CVSAuthenticationException(new CVSStatus(CVSStatus.ERROR, message == null ? Policy.bind("error") : message));
+ throw new CVSAuthenticationException(new CVSStatus(CVSStatus.ERROR, message == null ? Policy.bind("CVSRepositoryLocation.authenticationCanceled") : message));
}
try {
// The following will throw an exception if authentication fails
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/messages.properties b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/messages.properties
index 855b2df79..546a8e6b1 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/messages.properties
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/messages.properties
@@ -91,6 +91,7 @@ CVSRepositoryLocation.parsingHost=Error in host specification
CVSRepositoryLocation.parsingPort=Error in port specification
CVSRepositoryLocation.parsingRoot=Error in repository root directory specification
CVSRepositoryLocation.invalidFormat=Invalid CVS repository location format: {0}
+CVSRepositoryLocation.authenticationCanceled=Authentication canceled by user
ProjectDescriptionContentHandler.xml=Error parsing project description file

Back to the top