Uses of Class
com.ctc.wstx.exc.WstxException
Packages that use WstxException
Package
Description
Package that contains all exceptions Woodstox readers and writers throw.
Low-level classes that are used to abstract most details of stream I/O
access from actual parsing classes.
This package contains supporting code for handling namespace information;
element stacks that keep track of elements parsed and such.
-
Uses of WstxException in com.ctc.wstx.exc
Subclasses of WstxException in com.ctc.wstx.excModifier and TypeClassDescriptionclass
Exception thrown during parsing, if an unexpected EOF is encountered.class
Simple wrapper forIOException
s; needed when StAX does not expose underlying I/O exceptions via its methods.class
Exception class used for notifying about well-formedness errors that writers would create.class
Intermediate base class for reporting actual Wstx parsing problems.class
Generic exception type that indicates that tokenizer/parser encountered unexpected (but not necessarily invalid per se) character; character that is not legal in current context. -
Uses of WstxException in com.ctc.wstx.io
Methods in com.ctc.wstx.io that throw WstxExceptionModifier and TypeMethodDescriptionprotected abstract int
InputBootstrapper.checkKeyword
(String exp) protected int
ReaderBootstrapper.checkKeyword
(String exp) protected int
StreamBootstrapper.checkKeyword
(String exp) protected int
StreamBootstrapper.checkMbKeyword
(String expected) protected int
StreamBootstrapper.checkSbKeyword
(String expected) protected int
StreamBootstrapper.checkTranslatedKeyword
(String expected) protected abstract int
InputBootstrapper.getNext()
protected int
ReaderBootstrapper.getNext()
protected int
StreamBootstrapper.getNext()
protected abstract int
InputBootstrapper.getNextAfterWs
(boolean reqWs) protected int
ReaderBootstrapper.getNextAfterWs
(boolean reqWs) protected int
StreamBootstrapper.getNextAfterWs
(boolean reqWs) private final int
InputBootstrapper.getWsOrChar
(int ok) Method that should get next character, which has to be either specified character (usually end marker), OR, any character as long as there' at least one space character before it.private final int
protected boolean
StreamBootstrapper.hasXmlDecl()
protected void
ReaderBootstrapper.loadMore()
protected void
StreamBootstrapper.loadMore()
protected byte
StreamBootstrapper.nextByte()
protected char
ReaderBootstrapper.nextChar()
protected int
StreamBootstrapper.nextMultiByte()
protected int
StreamBootstrapper.nextTranslated()
protected abstract int
InputBootstrapper.readQuotedValue
(char[] kw, int quoteChar) protected int
ReaderBootstrapper.readQuotedValue
(char[] kw, int quoteChar) protected int
StreamBootstrapper.readQuotedValue
(char[] outputBuffer, int quoteChar) protected void
InputBootstrapper.readXmlDecl
(boolean isMainDoc, int xmlVersion) private final String
InputBootstrapper.readXmlEncoding()
private final String
InputBootstrapper.readXmlStandalone()
private final int
InputBootstrapper.readXmlVersion()
protected void
InputBootstrapper.reportNull()
private final void
InputBootstrapper.reportPseudoAttrProblem
(String attrName, String got, String expVal1, String expVal2) protected void
InputBootstrapper.reportUnexpectedChar
(int i, String msg) protected void
InputBootstrapper.reportXmlProblem
(String msg) protected void
StreamBootstrapper.resolveStreamEncoding()
Method called to try to figure out physical encoding the underlying input stream uses.protected void
ReaderBootstrapper.skipCRLF
(char lf) protected void
StreamBootstrapper.skipMbLF
(int lf) protected int
StreamBootstrapper.skipMbWs()
protected void
StreamBootstrapper.skipSbLF
(byte lfByte) protected int
StreamBootstrapper.skipSbWs()
protected void
StreamBootstrapper.skipTranslatedLF
(int lf) protected int
StreamBootstrapper.skipTranslatedWs()
private void
StreamBootstrapper.verifyEncoding
(String id, int bpc) private void
StreamBootstrapper.verifyEncoding
(String id, int bpc, boolean bigEndian) protected String
StreamBootstrapper.verifyXmlEncoding
(String enc) -
Uses of WstxException in com.ctc.wstx.sr
Methods in com.ctc.wstx.sr that return WstxExceptionModifier and TypeMethodDescriptionprotected WstxException
StreamScanner.constructFromIOE
(IOException ioe) Construct and return aXMLStreamException
to throw as a result of a failed Typed Access operation (but one not caused by a Well-Formedness Constraint or Validation Constraint problem)protected WstxException
StreamScanner.constructNullCharException()
protected WstxException
StreamScanner.constructWfcException
(String msg) protected WstxException
StreamScanner.throwInvalidSpace
(int i, boolean deferErrors) StreamScanner.throwWfcException
(String msg, boolean deferErrors) Methods in com.ctc.wstx.sr that throw WstxExceptionModifier and TypeMethodDescriptionprotected void
StreamScanner.throwFromIOE
(IOException ioe) protected void
StreamScanner.throwFromStrE
(XMLStreamException strex) protected void
StreamScanner.throwInvalidSpace
(int i) protected WstxException
StreamScanner.throwInvalidSpace
(int i, boolean deferErrors) protected void
StreamScanner.throwNullChar()
protected void
StreamScanner.throwUnexpectedChar
(int i, String msg) protected void
StreamScanner.throwUnexpectedEOB
(String msg) Similar toStreamScanner.throwUnexpectedEOF(java.lang.String)
, but only indicates ending of an input block.protected void
BasicStreamReader.throwUnexpectedEOF()
Method called when we get an EOF within content treeprotected void
StreamScanner.throwUnexpectedEOF
(String msg) StreamScanner.throwWfcException
(String msg, boolean deferErrors)