org.springframework.beans.factory.xml
public class: XmlBeanDefinitionStoreException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.beans.BeansException
org.springframework.beans.FatalBeanException
org.springframework.beans.factory.BeanDefinitionStoreException
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException
All Implemented Interfaces:
Serializable
XML-specific BeanDefinitionStoreException subclass that wraps a
org.xml.sax.SAXException , typically a
org.xml.sax.SAXParseException
which contains information about the error location.
| Method from org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException Summary: |
|---|
|
getLineNumber |
| Methods from org.springframework.beans.BeansException: |
|---|
|
equals, hashCode |
| Methods from java.lang.Throwable: |
|---|
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Method from org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException Detail: |
public int getLineNumber() {
Throwable cause = getCause();
if (cause instanceof SAXParseException) {
return ((SAXParseException) cause).getLineNumber();
}
return -1;
}
Return the line number in the XML resource that failed. |