Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » beans » factory » xml » [javadoc | source]
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.
Constructor:
 public XmlBeanDefinitionStoreException(String resourceDescription,
    String msg,
    SAXException cause) 
    Create a new XmlBeanDefinitionStoreException.
    Parameters:
    resourceDescription - description of the resource that the bean definition came from
    msg - the detail message (used as exception message as-is)
    cause - the SAXException (typically a SAXParseException) root cause
    Also see:
    org.xml.sax.SAXParseException
Method from org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException Summary:
getLineNumber
Methods from org.springframework.beans.factory.BeanDefinitionStoreException:
getBeanName,   getResourceDescription
Methods from org.springframework.beans.BeansException:
equals,   hashCode
Methods from org.springframework.core.NestedRuntimeException:
contains,   getMessage,   getMostSpecificCause,   getRootCause
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException Detail:
 public int getLineNumber() 
    Return the line number in the XML resource that failed.