org.yaml.snakeyaml.error.MarkedYAMLException.getContextMark()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(116)

本文整理了Java中org.yaml.snakeyaml.error.MarkedYAMLException.getContextMark()方法的一些代码示例,展示了MarkedYAMLException.getContextMark()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MarkedYAMLException.getContextMark()方法的具体详情如下:
包路径:org.yaml.snakeyaml.error.MarkedYAMLException
类名称:MarkedYAMLException
方法名:getContextMark

MarkedYAMLException.getContextMark介绍

暂无

代码示例

代码示例来源:origin: redisson/redisson

public Mark getContextMark() {
  return Mark.from(_source.getContextMark());
}

代码示例来源:origin: com.fasterxml.jackson.dataformat/jackson-dataformat-yaml

public Mark getContextMark() {
  return Mark.from(_source.getContextMark());
}

代码示例来源:origin: FasterXML/jackson-dataformat-yaml

public Mark getContextMark() {
  return Mark.from(_source.getContextMark());
}

代码示例来源:origin: harbby/presto-connectors

public Mark getContextMark() {
  return Mark.from(_source.getContextMark());
}

代码示例来源:origin: alien4cloud/alien4cloud

public ParsingError(ErrorCode errorCode, MarkedYAMLException cause) {
    this(ParsingErrorLevel.ERROR, errorCode, cause.getContext(), cause.getContextMark() != null ? cause.getContextMark() : cause.getProblemMark(),
        cause.getProblem(), cause.getProblemMark(), null);
  }
}

代码示例来源:origin: com.opentext.ia/infoarchive-yaml

public YamlSyntaxErrorException(String message, MarkedYAMLException cause) {
 super(cause.getContext(), cause.getContextMark(), message, cause.getProblemMark());
}

相关文章