com.ctc.wstx.exc
Class WstxUnexpectedCharException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.xml.stream.XMLStreamException
              extended by com.ctc.wstx.exc.WstxException
                  extended by com.ctc.wstx.exc.WstxParsingException
                      extended by com.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()