ch.javasoft.xml.config
Class XmlConfigException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ch.javasoft.xml.config.XmlConfigException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- MissingReferableException, XmlArgException
public class XmlConfigException
- extends Exception
The XmlConfigException is thrown if the xml configuration has not
been able to parse, or if an error occurred during the resolving phase, e.g.
because a parametrized attribute value could not be resolved.
- See Also:
- Serialized Form
XmlConfigException
public XmlConfigException(String message,
String path)
- Parameters:
message - the error messagepath - the xpath-like expression to localize the error in the
xml file
XmlConfigException
public XmlConfigException(String message,
Node path)
- Parameters:
message - the error messagepath - the node where the error cause is located
XmlConfigException
public XmlConfigException(String message,
String path,
Throwable cause)
- Parameters:
message - the error messagepath - the xpath-like expression to localize the error in the
xml filecause - the causing exception
XmlConfigException
public XmlConfigException(String message,
Node path,
Throwable cause)
- Parameters:
message - the error messagepath - the node where the error cause is locatedcause - the causing exception
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessage in class Throwable
getPath
public String getPath()
- Returns the location path in the xml file