Tabnine Logo
WstxException.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.ctc.wstx.exc.WstxException
constructor

Best Java code snippets using com.ctc.wstx.exc.WstxException.<init> (Showing top 20 results out of 315)

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;
}
com.ctc.wstx.excWstxException<init>

Popular methods of WstxException

  • getLocation
  • getLocationDesc
  • getMessage
    Method is overridden for two main reasons: first, default method does not display public/system id i

Popular in Java

  • Creating JSON documents from java classes using gson
  • getExternalFilesDir (Context)
  • onRequestPermissionsResult (Fragment)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now