本文整理了Java中org.mybatis.generator.exception.XMLParserException
类的一些代码示例,展示了XMLParserException
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XMLParserException
类的具体详情如下:
包路径:org.mybatis.generator.exception.XMLParserException
类名称:XMLParserException
暂无
代码示例来源:origin: org.mybatis.generator/mybatis-generator-core
document = builder.parse(inputSource);
} catch (SAXParseException e) {
throw new XMLParserException(parseErrors);
} catch (SAXException e) {
if (e.getException() == null) {
throw new XMLParserException(parseErrors);
config = parseMyBatisGeneratorConfiguration(rootNode);
} else {
throw new XMLParserException(getString("RuntimeError.5")); //$NON-NLS-1$
throw new XMLParserException(parseErrors);
} catch (ParserConfigurationException e) {
parseErrors.add(e.getMessage());
throw new XMLParserException(parseErrors);
代码示例来源:origin: vakinge/jeesuite-libs
e.printStackTrace();
} catch (XMLParserException e) {
e.printStackTrace();
代码示例来源:origin: cxjava/mybatis-generator-core
for (String error : e.getErrors()) {
log(error, Project.MSG_ERR);
throw new BuildException(e.getMessage());
} catch (SQLException e) {
throw new BuildException(e.getMessage());
代码示例来源:origin: handosme/mybatis-generator-plus
writeLine(getString("Progress.3")); //$NON-NLS-1$
writeLine();
for (String error : e.getErrors()) {
writeLine(error);
代码示例来源:origin: org.mybatis.generator/mybatis-generator-core
for (String error : e.getErrors()) {
log(error, Project.MSG_ERR);
throw new BuildException(e.getMessage());
} catch (SQLException e) {
throw new BuildException(e.getMessage());
代码示例来源:origin: org.mybatis.generator/mybatis-generator-core
writeLine(getString("Progress.3")); //$NON-NLS-1$
writeLine();
for (String error : e.getErrors()) {
writeLine(error);
代码示例来源:origin: org.mybatis.generator/mybatis-generator-maven-plugin
for (String error : e.getErrors()) {
getLog().error(error);
throw new MojoExecutionException(e.getMessage());
} catch (SQLException e) {
throw new MojoExecutionException(e.getMessage());
代码示例来源:origin: cxjava/mybatis-generator-core
document = builder.parse(inputSource);
} catch (SAXParseException e) {
throw new XMLParserException(parseErrors);
} catch (SAXException e) {
if (e.getException() == null) {
throw new XMLParserException(parseErrors);
config = parseMyBatisGeneratorConfiguration(rootNode);
} else {
throw new XMLParserException(getString("RuntimeError.5")); //$NON-NLS-1$
throw new XMLParserException(parseErrors);
} catch (ParserConfigurationException e) {
parseErrors.add(e.getMessage());
throw new XMLParserException(parseErrors);
代码示例来源:origin: roncoo/roncoo-mybatis-generator
writeLine(getString("Progress.3")); //$NON-NLS-1$
writeLine();
for (String error : e.getErrors()) {
writeLine(error);
代码示例来源:origin: lishuo9527/MybatisGenerator-UI
return "04";
} catch (XMLParserException xmle) {
xmle.printStackTrace();
return "05";
代码示例来源:origin: roncoo/roncoo-mybatis-generator
document = builder.parse(inputSource);
} catch (SAXParseException e) {
throw new XMLParserException(parseErrors);
} catch (SAXException e) {
if (e.getException() == null) {
throw new XMLParserException(parseErrors);
config = parseMyBatisGeneratorConfiguration(rootNode);
} else {
throw new XMLParserException(getString("RuntimeError.5")); //$NON-NLS-1$
throw new XMLParserException(parseErrors);
} catch (ParserConfigurationException e) {
parseErrors.add(e.getMessage());
throw new XMLParserException(parseErrors);
代码示例来源:origin: cxjava/mybatis-generator-core
writeLine(getString("Progress.3")); //$NON-NLS-1$
writeLine();
for (String error : e.getErrors()) {
writeLine(error);
代码示例来源:origin: handosme/mybatis-generator-plus
document = builder.parse(inputSource);
} catch (SAXParseException e) {
throw new XMLParserException(parseErrors);
} catch (SAXException e) {
if (e.getException() == null) {
throw new XMLParserException(parseErrors);
config = parseMyBatisGeneratorConfiguration(rootNode);
} else {
throw new XMLParserException(getString("RuntimeError.5")); //$NON-NLS-1$
throw new XMLParserException(parseErrors);
} catch (ParserConfigurationException e) {
parseErrors.add(e.getMessage());
throw new XMLParserException(parseErrors);
代码示例来源:origin: cxjava/mybatis-generator-core
throw new XMLParserException(getString("RuntimeError.14")); //$NON-NLS-1$
throw new XMLParserException(getString("RuntimeError.14")); //$NON-NLS-1$
resourceUrl = Thread.currentThread().getContextClassLoader().getResource(resource);
if (resourceUrl == null) {
throw new XMLParserException(getString("RuntimeError.15", resource)); //$NON-NLS-1$
} catch (IOException e) {
if (stringHasValue(resource)) {
throw new XMLParserException(getString("RuntimeError.16", resource)); //$NON-NLS-1$
} else {
throw new XMLParserException(getString("RuntimeError.17", url)); //$NON-NLS-1$
代码示例来源:origin: cxjava/mybatis-generator-core
throw new XMLParserException(getString("RuntimeError.14")); //$NON-NLS-1$
throw new XMLParserException(getString("RuntimeError.14")); //$NON-NLS-1$
resourceUrl = Thread.currentThread().getContextClassLoader().getResource(resource);
if (resourceUrl == null) {
throw new XMLParserException(getString("RuntimeError.15", resource)); //$NON-NLS-1$
} catch (IOException e) {
if (stringHasValue(resource)) {
throw new XMLParserException(getString("RuntimeError.16", resource)); //$NON-NLS-1$
} else {
throw new XMLParserException(getString("RuntimeError.17", url)); //$NON-NLS-1$
代码示例来源:origin: handosme/mybatis-generator-plus
throw new XMLParserException(getString("RuntimeError.14")); //$NON-NLS-1$
throw new XMLParserException(getString("RuntimeError.14")); //$NON-NLS-1$
resourceUrl = ObjectFactory.getResource(resource);
if (resourceUrl == null) {
throw new XMLParserException(getString(
"RuntimeError.15", resource)); //$NON-NLS-1$
} catch (IOException e) {
if (stringHasValue(resource)) {
throw new XMLParserException(getString(
"RuntimeError.16", resource)); //$NON-NLS-1$
} else {
throw new XMLParserException(getString(
"RuntimeError.17", url)); //$NON-NLS-1$
代码示例来源:origin: org.mybatis.generator/mybatis-generator-core
throw new XMLParserException(getString("RuntimeError.14")); //$NON-NLS-1$
throw new XMLParserException(getString("RuntimeError.14")); //$NON-NLS-1$
resourceUrl = ObjectFactory.getResource(resource);
if (resourceUrl == null) {
throw new XMLParserException(getString(
"RuntimeError.15", resource)); //$NON-NLS-1$
} catch (IOException e) {
if (stringHasValue(resource)) {
throw new XMLParserException(getString(
"RuntimeError.16", resource)); //$NON-NLS-1$
} else {
throw new XMLParserException(getString(
"RuntimeError.17", url)); //$NON-NLS-1$
代码示例来源:origin: roncoo/roncoo-mybatis-generator
throw new XMLParserException(getString("RuntimeError.14")); //$NON-NLS-1$
throw new XMLParserException(getString("RuntimeError.14")); //$NON-NLS-1$
resourceUrl = ObjectFactory.getResource(resource);
if (resourceUrl == null) {
throw new XMLParserException(getString(
"RuntimeError.15", resource)); //$NON-NLS-1$
} catch (IOException e) {
if (stringHasValue(resource)) {
throw new XMLParserException(getString(
"RuntimeError.16", resource)); //$NON-NLS-1$
} else {
throw new XMLParserException(getString(
"RuntimeError.17", url)); //$NON-NLS-1$
代码示例来源:origin: roncoo/roncoo-mybatis-generator
throw new XMLParserException(getString("RuntimeError.14")); //$NON-NLS-1$
throw new XMLParserException(getString("RuntimeError.14")); //$NON-NLS-1$
resourceUrl = ObjectFactory.getResource(resource);
if (resourceUrl == null) {
throw new XMLParserException(getString(
"RuntimeError.15", resource)); //$NON-NLS-1$
} catch (IOException e) {
if (stringHasValue(resource)) {
throw new XMLParserException(getString(
"RuntimeError.16", resource)); //$NON-NLS-1$
} else {
throw new XMLParserException(getString(
"RuntimeError.17", url)); //$NON-NLS-1$
代码示例来源:origin: handosme/mybatis-generator-plus
throw new XMLParserException(getString("RuntimeError.14")); //$NON-NLS-1$
throw new XMLParserException(getString("RuntimeError.14")); //$NON-NLS-1$
resourceUrl = ObjectFactory.getResource(resource);
if (resourceUrl == null) {
throw new XMLParserException(getString(
"RuntimeError.15", resource)); //$NON-NLS-1$
} catch (IOException e) {
if (stringHasValue(resource)) {
throw new XMLParserException(getString(
"RuntimeError.16", resource)); //$NON-NLS-1$
} else {
throw new XMLParserException(getString(
"RuntimeError.17", url)); //$NON-NLS-1$
内容来源于网络,如有侵权,请联系作者删除!