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 TypeClassDescriptionclassException thrown during parsing, if an unexpected EOF is encountered.classSimple wrapper forIOExceptions; needed when StAX does not expose underlying I/O exceptions via its methods.classException class used for notifying about well-formedness errors that writers would create.classIntermediate base class for reporting actual Wstx parsing problems.classGeneric 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 intInputBootstrapper.checkKeyword(String exp) protected intReaderBootstrapper.checkKeyword(String exp) protected intStreamBootstrapper.checkKeyword(String exp) protected intStreamBootstrapper.checkMbKeyword(String expected) protected intStreamBootstrapper.checkSbKeyword(String expected) protected intStreamBootstrapper.checkTranslatedKeyword(String expected) protected abstract intInputBootstrapper.getNext()protected intReaderBootstrapper.getNext()protected intStreamBootstrapper.getNext()protected abstract intInputBootstrapper.getNextAfterWs(boolean reqWs) protected intReaderBootstrapper.getNextAfterWs(boolean reqWs) protected intStreamBootstrapper.getNextAfterWs(boolean reqWs) private final intInputBootstrapper.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 intprotected booleanStreamBootstrapper.hasXmlDecl()protected voidReaderBootstrapper.loadMore()protected voidStreamBootstrapper.loadMore()protected byteStreamBootstrapper.nextByte()protected charReaderBootstrapper.nextChar()protected intStreamBootstrapper.nextMultiByte()protected intStreamBootstrapper.nextTranslated()protected abstract intInputBootstrapper.readQuotedValue(char[] kw, int quoteChar) protected intReaderBootstrapper.readQuotedValue(char[] kw, int quoteChar) protected intStreamBootstrapper.readQuotedValue(char[] outputBuffer, int quoteChar) protected voidInputBootstrapper.readXmlDecl(boolean isMainDoc, int xmlVersion) private final StringInputBootstrapper.readXmlEncoding()private final StringInputBootstrapper.readXmlStandalone()private final intInputBootstrapper.readXmlVersion()protected voidInputBootstrapper.reportNull()private final voidInputBootstrapper.reportPseudoAttrProblem(String attrName, String got, String expVal1, String expVal2) protected voidInputBootstrapper.reportUnexpectedChar(int i, String msg) protected voidInputBootstrapper.reportXmlProblem(String msg) protected voidStreamBootstrapper.resolveStreamEncoding()Method called to try to figure out physical encoding the underlying input stream uses.protected voidReaderBootstrapper.skipCRLF(char lf) protected voidStreamBootstrapper.skipMbLF(int lf) protected intStreamBootstrapper.skipMbWs()protected voidStreamBootstrapper.skipSbLF(byte lfByte) protected intStreamBootstrapper.skipSbWs()protected voidStreamBootstrapper.skipTranslatedLF(int lf) protected intStreamBootstrapper.skipTranslatedWs()private voidStreamBootstrapper.verifyEncoding(String id, int bpc) private voidStreamBootstrapper.verifyEncoding(String id, int bpc, boolean bigEndian) protected StringStreamBootstrapper.verifyXmlEncoding(String enc) -
Uses of WstxException in com.ctc.wstx.sr
Methods in com.ctc.wstx.sr that return WstxExceptionModifier and TypeMethodDescriptionprotected WstxExceptionStreamScanner.constructFromIOE(IOException ioe) Construct and return aXMLStreamExceptionto throw as a result of a failed Typed Access operation (but one not caused by a Well-Formedness Constraint or Validation Constraint problem)protected WstxExceptionStreamScanner.constructNullCharException()protected WstxExceptionStreamScanner.constructWfcException(String msg) protected WstxExceptionStreamScanner.throwInvalidSpace(int i, boolean deferErrors) StreamScanner.throwWfcException(String msg, boolean deferErrors) Methods in com.ctc.wstx.sr that throw WstxExceptionModifier and TypeMethodDescriptionprotected voidStreamScanner.throwFromIOE(IOException ioe) protected voidStreamScanner.throwFromStrE(XMLStreamException strex) protected voidStreamScanner.throwInvalidSpace(int i) protected WstxExceptionStreamScanner.throwInvalidSpace(int i, boolean deferErrors) protected voidStreamScanner.throwNullChar()protected voidStreamScanner.throwUnexpectedChar(int i, String msg) protected voidStreamScanner.throwUnexpectedEOB(String msg) Similar toStreamScanner.throwUnexpectedEOF(String), but only indicates ending of an input block.protected voidBasicStreamReader.throwUnexpectedEOF()Method called when we get an EOF within content treeprotected voidStreamScanner.throwUnexpectedEOF(String msg) StreamScanner.throwWfcException(String msg, boolean deferErrors)