thinkmap.xmlconfig
Class XMLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
thinkmap.xmlconfig.XMLException
- All Implemented Interfaces:
- Serializable
public class XMLException
- extends Exception
The base class for all exeptions that pertain to the parsing of XML.
- Version:
- $Revision $
- See Also:
- Serialized Form
NO_LINE_NBR
public static final int NO_LINE_NBR
- See Also:
- Constant Field Values
added
protected boolean added
lineNbr
protected int lineNbr
next
protected XMLException next
namespace
protected String namespace
elementName
protected String elementName
attribute
protected String attribute
uri
protected String uri
element
protected ConfigElement element
XMLException
public XMLException(String message,
Throwable error)
XMLException
public XMLException(Throwable error)
XMLException
public XMLException(int lineNbr,
String message)
XMLException
public XMLException(int lineNbr,
String message,
String element)
XMLException
public XMLException(int lineNbr,
String message,
String element,
String attribute)
XMLException
public XMLException(String message,
ConfigElement element)
XMLException
public XMLException(String s)
toString
public String toString()
- Error description
- Overrides:
toString in class Throwable
getLineNumber
public int getLineNumber()
- Line in the input stream at which the parser threw the exception
setLineNumber
public void setLineNumber(int i)
getNextException
public XMLException getNextException()
addException
public void addException(XMLException ex)
setElement
public void setElement(String s)
getElementName
public String getElementName()
getAttribute
public String getAttribute()
getNamespace
public String getNamespace()
setAttribute
public void setAttribute(String s)
setNamespace
public void setNamespace(String s)
setURI
public void setURI(String uri)
getURI
public String getURI()
setConfigElement
public void setConfigElement(ConfigElement element)
getConfigElement
public ConfigElement getConfigElement()
Copyright © 2013 Thinkmap, Inc. All Rights Reserved.