gpt4 book ai didi

com.ctc.wstx.exc.WstxException.()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-27 00:03:05 29 4
gpt4 key购买 nike

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

WstxException.<init>介绍

暂无

代码示例

代码示例来源:origin: org.codehaus.woodstox/woodstox-core-asl

protected void throwFromStrE(XMLStreamException strex)
  throws WstxException
{
  if (strex instanceof WstxException) {
    throw (WstxException) strex;
  }
  WstxException newEx = new WstxException(strex);
  ExceptionUtil.setInitCause(newEx, strex);
  throw newEx;
}

代码示例来源:origin: org.codehaus.woodstox/woodstox-core-asl

protected void reportNull()
  throws WstxException
{
  throw new WstxException("Illegal null byte in input stream",
              getLocation());
}

代码示例来源:origin: org.codehaus.woodstox/woodstox-core-asl

throw new WstxException("Reader (of type "+mReader.getClass().getName()+") returned 0 characters, even when asked to read up to "+mBuffer.length, getLocation());

代码示例来源:origin: org.codehaus.woodstox/woodstox-core-asl

if (actual < 1) {
  if (actual == 0) { // sanity check:
throw new WstxException("Reader (of type "+mReader.getClass().getName()+") returned 0 characters, even when asked to read up to "+amount, getLocation());

代码示例来源:origin: org.codehaus.woodstox/woodstox-core-asl

BaseStartElement be = (BaseStartElement) sr.withStartElement(this, loc);
      if (be == null) { // incorrect state
        throw new WstxException("Trying to create START_ELEMENT when current event is "
                    +ErrorConsts.tokenTypeDesc(sr.getEventType()),
                    loc);
  throw new WstxException("Internal error: should not get "
              +ErrorConsts.tokenTypeDesc(r.getEventType()));
default:

代码示例来源:origin: Nextdoor/bender

protected void throwFromStrE(XMLStreamException strex)
    throws WstxException
{
  if (strex instanceof WstxException) {
    throw (WstxException) strex;
  }
  throw new WstxException(strex);
}

代码示例来源:origin: mguessan/davmail

protected void throwFromStrE(XMLStreamException strex)
    throws WstxException
{
  if (strex instanceof WstxException) {
    throw (WstxException) strex;
  }
  throw new WstxException(strex);
}

代码示例来源:origin: FasterXML/woodstox

protected void throwFromStrE(XMLStreamException strex)
    throws WstxException
{
  if (strex instanceof WstxException) {
    throw (WstxException) strex;
  }
  throw new WstxException(strex);
}

代码示例来源:origin: com.fasterxml.woodstox/woodstox-core

protected void throwFromStrE(XMLStreamException strex)
    throws WstxException
{
  if (strex instanceof WstxException) {
    throw (WstxException) strex;
  }
  throw new WstxException(strex);
}

代码示例来源:origin: woodstox/wstx-lgpl

private void reportMissingBOM(String enc)
    throws WstxException
  {
    throw new WstxException("Missing BOM for encoding '"+enc+"'; can not be omitted",
                getLocation());
  }
}

代码示例来源:origin: woodstox/wstx-asl

protected void reportNull()
  throws WstxException
{
  throw new WstxException("Illegal null byte in input stream",
              getLocation());
}

代码示例来源:origin: org.codehaus.woodstox/woodstox-core-lgpl

protected void reportNull()
  throws WstxException
{
  throw new WstxException("Illegal null byte in input stream",
              getLocation());
}

代码示例来源:origin: woodstox/wstx-asl

private void reportMissingBOM(String enc)
    throws WstxException
  {
    throw new WstxException("Missing BOM for encoding '"+enc+"'; can not be omitted",
                getLocation());
  }
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.woodstox

protected void reportNull()
  throws WstxException
{
  throw new WstxException("Illegal null byte in input stream",
              getLocation());
}

代码示例来源:origin: woodstox/wstx-lgpl

protected void reportNull()
  throws WstxException
{
  throw new WstxException("Illegal null byte in input stream",
              getLocation());
}

代码示例来源:origin: com.fasterxml.woodstox/woodstox-core

protected void reportNull()
  throws WstxException
{
  throw new WstxException("Illegal null byte in input stream",
              getLocation());
}

代码示例来源:origin: org.codehaus.woodstox/woodstox-core-lgpl

protected void throwFromStrE(XMLStreamException strex)
  throws WstxException
{
  if (strex instanceof WstxException) {
    throw (WstxException) strex;
  }
  WstxException newEx = new WstxException(strex);
  ExceptionUtil.setInitCause(newEx, strex);
  throw newEx;
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.woodstox

private void reportMissingBOM(String enc)
    throws WstxException
  {
    throw new WstxException("Missing BOM for encoding '"+enc+"'; can not be omitted",
                getLocation());
  }
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.woodstox

protected void throwFromStrE(XMLStreamException strex)
  throws WstxException
{
  if (strex instanceof WstxException) {
    throw (WstxException) strex;
  }
  WstxException newEx = new WstxException(strex);
  JdkFeatures.getInstance().setInitCause(newEx, strex);
  throw newEx;
}

代码示例来源:origin: woodstox/wstx-asl

protected void throwFromStrE(XMLStreamException strex)
  throws WstxException
{
  if (strex instanceof WstxException) {
    throw (WstxException) strex;
  }
  WstxException newEx = new WstxException(strex);
  JdkFeatures.getInstance().setInitCause(newEx, strex);
  throw newEx;
}

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com