Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore2012-05-03 13:09:31 +0000
committerkmoore2012-05-03 13:09:31 +0000
commit4c625408fdc1dc3335b0fce2a820fd060e462b0b (patch)
tree4c64015f3997f7f87cac3ae487bbca83e9529d4a
parent447872768ca0a240b68e5185f35daba7dc8af847 (diff)
downloadwebtools.dali-4c625408fdc1dc3335b0fce2a820fd060e462b0b.tar.gz
webtools.dali-4c625408fdc1dc3335b0fce2a820fd060e462b0b.tar.xz
webtools.dali-4c625408fdc1dc3335b0fce2a820fd060e462b0b.zip
edited illegalStateException message to point to the correct method
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/context/orm/VirtualOrmPersistentAttribute.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/context/orm/VirtualOrmPersistentAttribute.java b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/context/orm/VirtualOrmPersistentAttribute.java
index 51ff7b94ac..5cadd2cabf 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/context/orm/VirtualOrmPersistentAttribute.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/context/orm/VirtualOrmPersistentAttribute.java
@@ -281,7 +281,7 @@ public class VirtualOrmPersistentAttribute
public OrmPersistentAttribute addToXml() {
if (this.mapping.getKey() == null) {
- throw new IllegalStateException("Use convertToSpecified(String) instead and specify a mapping type"); //$NON-NLS-1$
+ throw new IllegalStateException("Use addToXml(String) instead and specify a mapping type"); //$NON-NLS-1$
}
return this.getOwningPersistentType().addAttributeToXml(this);
}

Back to the top