Package com.ctc.wstx.exc
Class WstxUnexpectedCharException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.xml.stream.XMLStreamException
-
- com.ctc.wstx.exc.WstxException
-
- com.ctc.wstx.exc.WstxParsingException
-
- 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 Modifier and Type Field Description (package private) char
mChar
-
Fields inherited from class com.ctc.wstx.exc.WstxException
mMsg
-
-
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 com.ctc.wstx.exc.WstxException
getLocationDesc, getMessage, toString
-
-