summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado/info
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2007-06-02 16:21:19 +0000
committerBrian S. O'Neill <bronee@gmail.com>2007-06-02 16:21:19 +0000
commit19944d58e361cd5934496f43b4500e961d8a16e6 (patch)
treeff6663d5b8377702afc54b400e610598b505247d /src/main/java/com/amazon/carbonado/info
parent685ae449325bb6196c767dedf5d1902927abfb48 (diff)
Improve unsupported array type exception messages.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/info')
-rw-r--r--src/main/java/com/amazon/carbonado/info/StorableIntrospector.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/com/amazon/carbonado/info/StorableIntrospector.java b/src/main/java/com/amazon/carbonado/info/StorableIntrospector.java
index 3f84b00..0fd427d 100644
--- a/src/main/java/com/amazon/carbonado/info/StorableIntrospector.java
+++ b/src/main/java/com/amazon/carbonado/info/StorableIntrospector.java
@@ -1171,7 +1171,8 @@ public class StorableIntrospector {
if (bestConstrainMethod == null) {
errorMessages.add("Constraint does not support property type: " +
- property.getType().getName() + "; constraint type: " +
+ TypeDesc.forClass(property.getType()).getFullName() +
+ "; constraint type: " +
annotation.annotationType().getName());
} else {
StorablePropertyAnnotation spa =
@@ -1245,7 +1246,8 @@ public class StorableIntrospector {
if (adaptMethods.length == 0) {
errorMessages.add("Adapter does not support property type: " +
- property.getType().getName() + "; adapter type: " +
+ TypeDesc.forClass(property.getType()).getFullName() +
+ "; adapter type: " +
annotation.annotationType().getName());
} else {
StorablePropertyAnnotation spa =