JavaApiGenerator.java: parameter error without throw exception.