add more tips about npe;

This commit is contained in:
zhenjun115
2016-07-02 16:16:50 +08:00
parent 3ff5dce25b
commit 4a71a4c290

View File

@@ -284,7 +284,7 @@ public class DefaultGenerator extends AbstractGenerator implements Generator {
allProcessedModels.put(name, models);
} catch (Exception e) {
throw new RuntimeException("Could not process model '" + name + "'", e);
throw new RuntimeException("Could not process model '" + name + "'" + ".Please make sure that your schema is correct!", e);
}
}