public class XMLParseException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
private Document |
doc |
private Element |
element |
private Location |
location |
private Node |
node |
private static long |
serialVersionUID |
private XMLSource |
source |
private Token |
token |
Constructor and Description |
---|
XMLParseException(java.lang.String message) |
XMLParseException(java.lang.String message,
Document doc,
Node node) |
XMLParseException(java.lang.String message,
Element e) |
XMLParseException(java.lang.String message,
Node node) |
XMLParseException(java.lang.String message,
java.lang.Throwable cause) |
XMLParseException(java.lang.String message,
Token token) |
XMLParseException(java.lang.String message,
XMLSource source,
int offset) |
Modifier and Type | Method and Description |
---|---|
int |
getColumn() |
Document |
getDoc() |
Element |
getElement() |
int |
getLine() |
int |
getLineStartOffset() |
Location |
getLocation() |
java.lang.String |
getMessage() |
java.lang.String |
getMessageWithoutLocation() |
Node |
getNode() |
int |
getOffset() |
XMLSource |
getSource() |
Token |
getToken() |
XMLParseException |
setElement(Element e) |
void |
setNode(Document doc,
Node node) |
XMLParseException |
setSource(XMLSource source,
int offset) |
XMLParseException |
setToken(Token token) |
private static final long serialVersionUID
private XMLSource source
private Token token
private Location location
private Element element
private Document doc
private Node node
public XMLParseException(java.lang.String message, XMLSource source, int offset)
public XMLParseException(java.lang.String message, Token token)
public XMLParseException(java.lang.String message)
public XMLParseException(java.lang.String message, java.lang.Throwable cause)
public XMLParseException(java.lang.String message, Node node)
public XMLParseException(java.lang.String message, Element e)
public XMLParseException setElement(Element e)
public XMLParseException setSource(XMLSource source, int offset)
public XMLParseException setToken(Token token)
public XMLSource getSource()
public Token getToken()
public Element getElement()
public Document getDoc()
public Node getNode()
public Location getLocation()
public int getLine()
public int getColumn()
public int getOffset()
public int getLineStartOffset()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getMessageWithoutLocation()