Uses of Class
com.ctc.wstx.exc.WstxException
-
Packages that use WstxException Package Description com.ctc.wstx.exc Package that contains all exceptions Woodstox readers and writers throw.com.ctc.wstx.io Low-level classes that are used to abstract most details of stream I/O access from actual parsing classes.com.ctc.wstx.sr 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.exc Modifier and Type Class Description class
WstxEOFException
Exception thrown during parsing, if an unexpected EOF is encountered.class
WstxIOException
Simple wrapper forIOException
s; needed when StAX does not expose underlying I/O exceptions via its methods.class
WstxOutputException
Exception class used for notifying about well-formedness errors that writers would create.class
WstxParsingException
Intermediate base class for reporting actual Wstx parsing problems.class
WstxUnexpectedCharException
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 WstxException Modifier and Type Method Description protected abstract int
InputBootstrapper. checkKeyword(java.lang.String exp)
protected int
ReaderBootstrapper. checkKeyword(java.lang.String exp)
protected int
StreamBootstrapper. checkKeyword(java.lang.String exp)
protected int
StreamBootstrapper. checkMbKeyword(java.lang.String expected)
protected int
StreamBootstrapper. checkSbKeyword(java.lang.String expected)
protected int
StreamBootstrapper. checkTranslatedKeyword(java.lang.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 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 int
InputBootstrapper. handleEq(java.lang.String attr)
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 java.lang.String
InputBootstrapper. readXmlEncoding()
private java.lang.String
InputBootstrapper. readXmlStandalone()
private int
InputBootstrapper. readXmlVersion()
protected void
InputBootstrapper. reportNull()
private void
InputBootstrapper. reportPseudoAttrProblem(java.lang.String attrName, java.lang.String got, java.lang.String expVal1, java.lang.String expVal2)
protected void
InputBootstrapper. reportUnexpectedChar(int i, java.lang.String msg)
protected void
InputBootstrapper. reportXmlProblem(java.lang.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(java.lang.String id, int bpc)
private void
StreamBootstrapper. verifyEncoding(java.lang.String id, int bpc, boolean bigEndian)
protected java.lang.String
StreamBootstrapper. verifyXmlEncoding(java.lang.String enc)
-
Uses of WstxException in com.ctc.wstx.sr
Methods in com.ctc.wstx.sr that return WstxException Modifier and Type Method Description protected WstxException
StreamScanner. constructFromIOE(java.io.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(java.lang.String msg)
protected WstxException
StreamScanner. throwInvalidSpace(int i, boolean deferErrors)
WstxException
StreamScanner. throwWfcException(java.lang.String msg, boolean deferErrors)
Methods in com.ctc.wstx.sr that throw WstxException Modifier and Type Method Description protected void
StreamScanner. throwFromIOE(java.io.IOException ioe)
protected void
StreamScanner. throwFromStrE(javax.xml.stream.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, java.lang.String msg)
protected void
StreamScanner. throwUnexpectedEOB(java.lang.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(java.lang.String msg)
WstxException
StreamScanner. throwWfcException(java.lang.String msg, boolean deferErrors)
-