org.springframework.beans.factory

Class BeanDefinitionStoreException

    • Constructor Summary

      Constructors 
      Constructor and Description
      BeanDefinitionStoreException(java.lang.String msg)
      Create a new BeanDefinitionStoreException.
      BeanDefinitionStoreException(java.lang.String resourceDescription, java.lang.String msg)
      Create a new BeanDefinitionStoreException.
      BeanDefinitionStoreException(java.lang.String resourceDescription, java.lang.String beanName, java.lang.String msg)
      Create a new BeanDefinitionStoreException.
      BeanDefinitionStoreException(java.lang.String resourceDescription, java.lang.String beanName, java.lang.String msg, java.lang.Throwable cause)
      Create a new BeanDefinitionStoreException.
      BeanDefinitionStoreException(java.lang.String resourceDescription, java.lang.String msg, java.lang.Throwable cause)
      Create a new BeanDefinitionStoreException.
      BeanDefinitionStoreException(java.lang.String msg, java.lang.Throwable cause)
      Create a new BeanDefinitionStoreException.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getBeanName()
      Return the name of the bean, if available.
      java.lang.String getResourceDescription()
      Return the description of the resource that the bean definition came from, if available.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BeanDefinitionStoreException

        public BeanDefinitionStoreException(java.lang.String msg)
        Create a new BeanDefinitionStoreException.
        Parameters:
        msg - the detail message (used as exception message as-is)
      • BeanDefinitionStoreException

        public BeanDefinitionStoreException(java.lang.String msg,
                                            @Nullable
                                            java.lang.Throwable cause)
        Create a new BeanDefinitionStoreException.
        Parameters:
        msg - the detail message (used as exception message as-is)
        cause - the root cause (may be null)
      • BeanDefinitionStoreException

        public BeanDefinitionStoreException(@Nullable
                                            java.lang.String resourceDescription,
                                            java.lang.String msg)
        Create a new BeanDefinitionStoreException.
        Parameters:
        resourceDescription - description of the resource that the bean definition came from
        msg - the detail message (used as exception message as-is)
      • BeanDefinitionStoreException

        public BeanDefinitionStoreException(@Nullable
                                            java.lang.String resourceDescription,
                                            java.lang.String msg,
                                            @Nullable
                                            java.lang.Throwable cause)
        Create a new BeanDefinitionStoreException.
        Parameters:
        resourceDescription - description of the resource that the bean definition came from
        msg - the detail message (used as exception message as-is)
        cause - the root cause (may be null)
      • BeanDefinitionStoreException

        public BeanDefinitionStoreException(@Nullable
                                            java.lang.String resourceDescription,
                                            java.lang.String beanName,
                                            java.lang.String msg)
        Create a new BeanDefinitionStoreException.
        Parameters:
        resourceDescription - description of the resource that the bean definition came from
        beanName - the name of the bean
        msg - the detail message (appended to an introductory message that indicates the resource and the name of the bean)
      • BeanDefinitionStoreException

        public BeanDefinitionStoreException(@Nullable
                                            java.lang.String resourceDescription,
                                            java.lang.String beanName,
                                            java.lang.String msg,
                                            @Nullable
                                            java.lang.Throwable cause)
        Create a new BeanDefinitionStoreException.
        Parameters:
        resourceDescription - description of the resource that the bean definition came from
        beanName - the name of the bean
        msg - the detail message (appended to an introductory message that indicates the resource and the name of the bean)
        cause - the root cause (may be null)
    • Method Detail

      • getResourceDescription

        @Nullable
        public java.lang.String getResourceDescription()
        Return the description of the resource that the bean definition came from, if available.
      • getBeanName

        @Nullable
        public java.lang.String getBeanName()
        Return the name of the bean, if available.