Improved an error message.

Change-Id: Ibf10863248ec8589cd9bf1ac164b7aa25a06e0e9
diff --git a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/Project.java b/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/Project.java
index 0cc9d2d..cfe6f7a 100644
--- a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/Project.java
+++ b/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/Project.java
@@ -140,7 +140,7 @@
 	public void checkAccessible(int flags) throws CoreException {
 		super.checkAccessible(flags);
 		if (!isOpen(flags)) {
-			String message = NLS.bind(Messages.resources_mustBeOpen, getFullPath());
+			String message = NLS.bind(Messages.resources_mustBeOpen, getName());
 			throw new ResourceException(IResourceStatus.PROJECT_NOT_OPEN, getFullPath(), message, null);
 		}
 	}
diff --git a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/utils/messages.properties b/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/utils/messages.properties
index 4e09db2..e40e586 100644
--- a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/utils/messages.properties
+++ b/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/utils/messages.properties
@@ -229,7 +229,7 @@
 resources_moving_0 = Moving.
 resources_mustBeAbsolute = Path ''{0}'' must be absolute.
 resources_mustBeLocal = Resource ''{0}'' is not local.
-resources_mustBeOpen = Resource ''{0}'' is not open.
+resources_mustBeOpen = Project ''{0}'' is not open.
 resources_mustExist = Resource ''{0}'' does not exist.
 resources_mustNotExist = Resource ''{0}'' already exists.
 resources_nameEmpty = Name cannot be empty.