Class WstxUnexpectedCharException

  • All Implemented Interfaces:
    java.io.Serializable

    public class WstxUnexpectedCharException
    extends WstxParsingException
    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. Could happen, for example, if white space was missing between attribute value and name of next attribute.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) char mChar  
      • Fields inherited from class javax.xml.stream.XMLStreamException

        location, nested
    • Constructor Summary

      Constructors 
      Constructor Description
      WstxUnexpectedCharException​(java.lang.String msg, javax.xml.stream.Location loc, char c)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      char getChar()  
      • Methods inherited from class javax.xml.stream.XMLStreamException

        getLocation, getNestedException
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • mChar

        final char mChar
    • Constructor Detail

      • WstxUnexpectedCharException

        public WstxUnexpectedCharException​(java.lang.String msg,
                                           javax.xml.stream.Location loc,
                                           char c)
    • Method Detail

      • getChar

        public char getChar()