diff options
author | kmoore | 2012-04-27 16:02:29 +0000 |
---|---|---|
committer | kmoore | 2012-04-27 16:02:29 +0000 |
commit | de2795f69c9c738e04ef10e8c966caea69f36eb6 (patch) | |
tree | 64b7517130faa25270e54c2d7ca34278e956f4fb /jpa/plugins/org.eclipse.jpt.jpa.core | |
parent | 7f8aac824a448059ba42a5521ec6f853ad1889e0 (diff) | |
download | webtools.dali-de2795f69c9c738e04ef10e8c966caea69f36eb6.tar.gz webtools.dali-de2795f69c9c738e04ef10e8c966caea69f36eb6.tar.xz webtools.dali-de2795f69c9c738e04ef10e8c966caea69f36eb6.zip |
include JPA platform in error message about unrecognized JPA platform
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.jpa.core')
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/platform/JpaPlatformManagerImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/platform/JpaPlatformManagerImpl.java b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/platform/JpaPlatformManagerImpl.java index 14ade2c2f5..0f2e32e616 100644 --- a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/platform/JpaPlatformManagerImpl.java +++ b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/platform/JpaPlatformManagerImpl.java @@ -231,7 +231,7 @@ public class JpaPlatformManagerImpl String jpaPlatformId = JptJpaCorePlugin.getJpaPlatformId(project); JpaPlatformDescriptionImpl platformDesc = this.jpaPlatformDescriptions.getItem(jpaPlatformId); if (platformDesc == null) { - throw new IllegalArgumentException("Project does not have a recognized JPA platform."); + throw new IllegalArgumentException("Project does not have a recognized JPA platform: " + jpaPlatformId); //$NON-NLS-1$ } return platformDesc.buildJpaPlatform(); } |