Merge pull request #3276 from zhenjun115/issue2499

add more tips about npe;
This commit is contained in:
wing328 2016-07-08 14:01:43 +08:00 committed by GitHub
commit 89741c75f7

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);
}
}