public class XmlBeanDefinitionStoreException extends BeanDefinitionStoreException
SAXException, typically a SAXParseException
which contains information about the error location.getLineNumber(),
SAXParseException,
Serialized Form| Constructor and Description |
|---|
XmlBeanDefinitionStoreException(String resourceDescription,
String msg,
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, getResourceDescriptionequals, hashCodecontains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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()