All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ctc.wstx.exc.WstxUnexpectedCharException Maven / Gradle / Ivy

Go to download

Woodstox is a high-performance XML processor that implements Stax (JSR-173), SAX2 and Stax2 APIs

There is a newer version: 7.1.0
Show newest version
package com.ctc.wstx.exc;

import javax.xml.stream.Location;

/**
 * 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.
 */
@SuppressWarnings("serial")
public class WstxUnexpectedCharException
    extends WstxParsingException
{
    final char mChar;

    public WstxUnexpectedCharException(String msg, Location loc, char c) {
        super(msg, loc);
        mChar = c;
    }

    public char getChar() {
        return mChar;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy