summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado/repo/jdbc
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2007-06-07 15:32:29 +0000
committerBrian S. O'Neill <bronee@gmail.com>2007-06-07 15:32:29 +0000
commite69fc3804d93419b8f44035bb8d7a35bf052246a (patch)
tree0b64b38532a380fd2106f859a82d29934303a1b8 /src/main/java/com/amazon/carbonado/repo/jdbc
parenta892d2d120b37f8c668ba38011333440e0b1e131 (diff)
MismatchException includes Storable type name in message.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/repo/jdbc')
-rw-r--r--src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java
index 5ff713d..ee31b6c 100644
--- a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java
+++ b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java
@@ -383,7 +383,7 @@ public class JDBCStorableIntrospector extends StorableIntrospector {
}
if (errorMessages.size() > 0) {
- throw new MismatchException(errorMessages);
+ throw new MismatchException(mainInfo.getStorableType(), errorMessages);
}
// Gather index info...
@@ -570,7 +570,7 @@ public class JDBCStorableIntrospector extends StorableIntrospector {
}
if (errorMessages.size() > 0) {
- throw new MismatchException(errorMessages);
+ throw new MismatchException(mainInfo.getStorableType(), errorMessages);
}
return new JInfo<S>