Improved error message.

This commit is contained in:
Michael Bayne
2009-08-07 03:11:37 +00:00
parent 363614dff5
commit 1f0c33eacf
@@ -614,7 +614,8 @@ public class DepotMarshaller<T extends PersistentRecord>
if (fm.getComputed() != null && !fm.getComputed().required()) {
continue;
}
throw new SQLException("ResultSet missing field: " + fm.getField().getName());
throw new SQLException(
"ResultSet missing field: " + fm.getField().getName() + " for " + _pClass);
}
fm.getAndWriteToObject(rs, po);
}