org.xml.sax.SAXException , typically a org.xml.sax.SAXParseException
which contains information about the error location.
getLineNumber(), org.xml.sax.SAXParseException
| Access | Constructor and Description |
|---|---|
| public | XmlBeanDefinitionStoreException(String
description of the resource that the bean definition came from resourceDescription, String the detail message (used as exception message as-is) msg, SAXException the SAXException (typically a SAXParseException) root cause cause)Create a new XmlBeanDefinitionStoreException. |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the line number if available (in case of a SAXParseException); -1 elseReturn the line number in the XML resource that failed. |
| XmlBeanDefinitionStoreException | back to summary |
|---|---|
| public XmlBeanDefinitionStoreException(String resourceDescription, String msg, SAXException cause) Create a new XmlBeanDefinitionStoreException.
| |
| getLineNumber | back to summary |
|---|---|
| public int getLineNumber() Return the line number in the XML resource that failed.
| |