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; }
protected void reportNull() throws WstxException { throw new WstxException("Illegal null byte in input stream", getLocation()); }
throw new WstxException("Reader (of type "+mReader.getClass().getName()+") returned 0 characters, even when asked to read up to "+mBuffer.length, getLocation());
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());
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:
protected void throwFromStrE(XMLStreamException strex) throws WstxException { if (strex instanceof WstxException) { throw (WstxException) strex; } throw new WstxException(strex); }
protected void throwFromStrE(XMLStreamException strex) throws WstxException { if (strex instanceof WstxException) { throw (WstxException) strex; } throw new WstxException(strex); }
protected void throwFromStrE(XMLStreamException strex) throws WstxException { if (strex instanceof WstxException) { throw (WstxException) strex; } throw new WstxException(strex); }
protected void throwFromStrE(XMLStreamException strex) throws WstxException { if (strex instanceof WstxException) { throw (WstxException) strex; } throw new WstxException(strex); }
private void reportMissingBOM(String enc) throws WstxException { throw new WstxException("Missing BOM for encoding '"+enc+"'; can not be omitted", getLocation()); } }
protected void reportNull() throws WstxException { throw new WstxException("Illegal null byte in input stream", getLocation()); }
protected void reportNull() throws WstxException { throw new WstxException("Illegal null byte in input stream", getLocation()); }
private void reportMissingBOM(String enc) throws WstxException { throw new WstxException("Missing BOM for encoding '"+enc+"'; can not be omitted", getLocation()); } }
protected void reportNull() throws WstxException { throw new WstxException("Illegal null byte in input stream", getLocation()); }
protected void reportNull() throws WstxException { throw new WstxException("Illegal null byte in input stream", getLocation()); }
protected void reportNull() throws WstxException { throw new WstxException("Illegal null byte in input stream", getLocation()); }
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; }
private void reportMissingBOM(String enc) throws WstxException { throw new WstxException("Missing BOM for encoding '"+enc+"'; can not be omitted", getLocation()); } }
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; }
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; }