Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2002-03-20 16:31:17 -0500
committerMichael Valenta2002-03-20 16:31:17 -0500
commit0d4cd3c49ebe91c1645d38573b7e5a05c79853f8 (patch)
tree09b674f8b93cf1fcd90a46e911d294b8e2921922
parent168c142ef74449bc4f5752b751c8c8c91ff29d05 (diff)
downloadeclipse.platform.team-0d4cd3c49ebe91c1645d38573b7e5a05c79853f8.tar.gz
eclipse.platform.team-0d4cd3c49ebe91c1645d38573b7e5a05c79853f8.tar.xz
eclipse.platform.team-0d4cd3c49ebe91c1645d38573b7e5a05c79853f8.zip
11533: Error message with <NOT IMPLEMENT YET> in it
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/messages.properties10
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/EclipseFile.java8
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/EclipseFolder.java2
3 files changed, 10 insertions, 10 deletions
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 49d21fde8..1a070e24e 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
@@ -214,10 +214,10 @@ CVSProvider.Scrubbing_local_project_1=Scrubbing local project
CVSProvider.Scrubbing_projects_1=Scrubbing projects
CVSProvider.Creating_projects_2=Creating projects
-EclipseFile_Problem_deleting_resource=Problem deleting resource: {0}. If you have run an external CVS tool on this project run <OPERATION NOT IMPLEMENT YET> to synchronize with the new changes on disk.
-EclipseFile_Problem_accessing_resource=Problem accessing resource: {0}. If you have run an external CVS tool on this project run <OPERATION NOT IMPLEMENT YET> to synchronize with the new changes on disk.
-EclipseFile_Problem_creating_resource=Problem creating resource: {0}. If you have run an external CVS tool on this project run <OPERATION NOT IMPLEMENT YET> to synchronize with the new changes on disk.
-EclipseFile_Problem_appending_to_resource=Problem appending to resource: {0}. If you have run an external CVS tool on this project run <OPERATION NOT IMPLEMENT YETT> to synchronize with the new changes on disk.
-EclipseFolder_problem_creating=Problem creating folder: {0}. If you have run an external CVS tool on this project run <OPERATION NOT IMPLEMENT YETT> to synchronize with the new changes on disk.
+EclipseFile_Problem_deleting_resource=Problem deleting resource: {1} Perform a refresh from local.
+EclipseFile_Problem_accessing_resource=Problem accessing resource: {1} Perform a refresh from local.
+EclipseFile_Problem_creating_resource=Problem creating resource: {1} Perform a refresh from local.
+EclipseFile_Problem_appending_to_resource=Problem appending to resource: {1} Perform a refresh from local.
+EclipseFolder_problem_creating=Problem creating folder: {1} Perform a refresh from local.
EclipseSynchronizer_updatingSyncEndOperation=Updating CVS synchronization information... \ No newline at end of file
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/EclipseFile.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/EclipseFile.java
index c541f3538..58e25e251 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/EclipseFile.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/EclipseFile.java
@@ -52,7 +52,7 @@ class EclipseFile extends EclipseResource implements ICVSFile {
try {
((IFile)resource).delete(false /*force*/, true /*keepHistory*/, null);
} catch(CoreException e) {
- throw CVSException.wrapException(resource, Policy.bind("EclipseFile_Problem_deleting_resource", resource.getFullPath().toString()), e); //$NON-NLS-1$ //$NON-NLS-2$
+ throw CVSException.wrapException(resource, Policy.bind("EclipseFile_Problem_deleting_resource", resource.getFullPath().toString(), e.getStatus().getMessage()), e); //$NON-NLS-1$ //$NON-NLS-2$
}
}
@@ -64,7 +64,7 @@ class EclipseFile extends EclipseResource implements ICVSFile {
try {
return getIFile().getContents();
} catch (CoreException e) {
- throw CVSException.wrapException(resource, Policy.bind("EclipseFile_Problem_accessing_resource", resource.getFullPath().toString()), e); //$NON-NLS-1$ //$NON-NLS-2$
+ throw CVSException.wrapException(resource, Policy.bind("EclipseFile_Problem_accessing_resource", resource.getFullPath().toString(), e.getStatus().getMessage()), e); //$NON-NLS-1$ //$NON-NLS-2$
}
}
@@ -94,7 +94,7 @@ class EclipseFile extends EclipseResource implements ICVSFile {
// tempFile.move(new Path(file.getName()), true, true, null);
}
} catch(CoreException e) {
- throw new IOException(Policy.bind("EclipseFile_Problem_creating_resource", e.getMessage())); //$NON-NLS-1$ //$NON-NLS-2$
+ throw new IOException(Policy.bind("EclipseFile_Problem_creating_resource", e.getMessage(), e.getStatus().getMessage())); //$NON-NLS-1$ //$NON-NLS-2$
} finally {
super.close();
}
@@ -116,7 +116,7 @@ class EclipseFile extends EclipseResource implements ICVSFile {
file.create(new ByteArrayInputStream(toByteArray()), false /*force*/, null);
}
} catch(CoreException e) {
- throw new IOException(Policy.bind("EclipseFile_Problem_appending_to_resource", e.getMessage())); //$NON-NLS-1$ //$NON-NLS-2$
+ throw new IOException(Policy.bind("EclipseFile_Problem_appending_to_resource", e.getMessage(), e.getStatus().getMessage())); //$NON-NLS-1$ //$NON-NLS-2$
} finally {
super.close();
}
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/EclipseFolder.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/EclipseFolder.java
index 414885796..b16c6cedc 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/EclipseFolder.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/EclipseFolder.java
@@ -118,7 +118,7 @@ class EclipseFolder extends EclipseResource implements ICVSFolder {
((IFolder)resource).create(false /*don't force*/, true /*make local*/, null);
}
} catch (CoreException e) {
- throw CVSException.wrapException(resource, Policy.bind("EclipseFolder_problem_creating", resource.getFullPath().toString()), e); //$NON-NLS-1$
+ throw CVSException.wrapException(resource, Policy.bind("EclipseFolder_problem_creating", resource.getFullPath().toString(), e.getStatus().getMessage()), e); //$NON-NLS-1$
}
}

Back to the top