From e69fc3804d93419b8f44035bb8d7a35bf052246a Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Thu, 7 Jun 2007 15:32:29 +0000 Subject: MismatchException includes Storable type name in message. --- .../java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/com/amazon/carbonado/repo') 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 -- cgit v1.2.3