public class XmlBeanDefinitionStoreException extends BeanDefinitionStoreException
SAXException
, typically a SAXParseException
which contains information about the error location.getLineNumber()
,
SAXParseException
,
Serialized FormConstructor 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, getResourceDescription
equals, hashCode
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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 causeSAXParseException
public int getLineNumber()
SAXParseException.getLineNumber()