com.ctc.wstx.exc
Class WstxUnexpectedCharException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.xml.stream.XMLStreamException
              extended bycom.ctc.wstx.exc.WstxException
                  extended bycom.ctc.wstx.exc.WstxParsingException
                      extended bycom.ctc.wstx.exc.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 inherited from class javax.xml.stream.XMLStreamException
location, nested
 
Constructor Summary
WstxUnexpectedCharException(java.lang.String msg, javax.xml.stream.Location loc, char c)
           
 
Method Summary
 char getChar()
           
 
Methods inherited from class com.ctc.wstx.exc.WstxException
getLocationDesc, getMessage, toString
 
Methods inherited from class javax.xml.stream.XMLStreamException
getLocation, getNestedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WstxUnexpectedCharException

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

getChar

public char getChar()