List of usage examples for javax.xml.stream Location getCharacterOffset
int getCharacterOffset();
From source file:org.osaf.cosmo.model.text.BaseXhtmlFormat.java
protected void handleException(String message, Location location) throws ParseException { int offset = location != null ? location.getCharacterOffset() : -1; throw new ParseException(message, offset); }