net.sf.xolite
Class XMLParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.sf.xolite.XMLParseException
- All Implemented Interfaces:
- Serializable
public class XMLParseException
- extends Exception
Exception for XML parsing.
This exception allow to define the location of the bad tokens that caused the exception in the input XML. This location can be
expressed as two int (line, row) or as a plain string.
- See Also:
- Serialized Form
XMLParseException
public XMLParseException(String message)
XMLParseException
public XMLParseException(String message,
Throwable cause)
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
setSource
public void setSource(String sourceDescription)
setLocation
public void setLocation(int newLine,
int newColumn)
getSource
public String getSource()
getLine
public int getLine()
getColumn
public int getColumn()
Copyright © 2012. All Rights Reserved.