refine error type

This commit is contained in:
Terence Parr 2014-07-05 19:08:31 -07:00
parent 1f8c124fa7
commit 9b76e6423c
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@ public abstract class Target {
result = new STGroupFile(groupFileName);
}
catch (IllegalArgumentException iae) {
gen.tool.errMgr.toolError(ErrorType.CANNOT_CREATE_TARGET_GENERATOR,
gen.tool.errMgr.toolError(ErrorType.MISSING_CODE_GEN_TEMPLATES,
iae,
language);
}