public class XmlBeanDefinitionStoreException extends BeanDefinitionStoreException
SAXException
, typically a SAXParseException
which contains information about the error location.getLineNumber()
,
SAXParseException
,
Serialized FormConstructor and Description |
---|
XmlBeanDefinitionStoreException(java.lang.String resourceDescription,
java.lang.String msg,
org.xml.sax.SAXException cause)
Create a new XmlBeanDefinitionStoreException.
|
Modifier and Type | Method and Description |
---|---|
int |
getLineNumber()
Return the line number in the XML resource that failed.
|
getBeanName, getResourceDescription
contains, getMessage, getMostSpecificCause, getRootCause
public XmlBeanDefinitionStoreException(java.lang.String resourceDescription, java.lang.String msg, org.xml.sax.SAXException cause)
resourceDescription
- description of the resource that the bean definition came frommsg
- the detail message (used as exception message as-is)cause
- the SAXException (typically a SAXParseException) root causeSAXParseException