* Improve error message on invalid _prototype value as suggested

by Juerg Lehni on helma-user
This commit is contained in:
hns 2007-03-28 18:53:14 +00:00
parent b67a171983
commit 6514226078

View file

@ -1681,8 +1681,9 @@ public final class NodeManager {
if (dbmap == null) {
// invalid prototype name!
app.logError("Warning: Invalid prototype name: " + protoName +
" - using default");
app.logError("No prototype defined for prototype mapping \""
+ protoName + "\" - Using default prototype \""
+ dbm.getTypeName() + "\".");
dbmap = dbm;
protoName = dbmap.getTypeName();
}