public class XmlBeanDefinitionStoreException extends BeanDefinitionStoreException
SAXException, typically a SAXParseException
which contains information about the error location.getLineNumber(),
SAXParseException,
序列化表格| 构造器和说明 |
|---|
XmlBeanDefinitionStoreException(String resourceDescription,
String msg,
SAXException cause)
Create a new XmlBeanDefinitionStoreException.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getLineNumber()
Return the line number in the XML resource that failed.
|
getBeanName, getResourceDescriptioncontains, getMessage, getMostSpecificCause, getRootCausepublic XmlBeanDefinitionStoreException(String resourceDescription, String msg, 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 causeSAXParseExceptionpublic int getLineNumber()
SAXParseException.getLineNumber()