org.mybatis.generator.exception.XMLParserException类的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(8.2k)|赞(0)|评价(0)|浏览(167)

本文整理了Java中org.mybatis.generator.exception.XMLParserException类的一些代码示例,展示了XMLParserException类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XMLParserException类的具体详情如下:
包路径:org.mybatis.generator.exception.XMLParserException
类名称: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$

相关文章