类 BeanDefinitionStoreException

    • 构造器详细资料

      • BeanDefinitionStoreException

        public BeanDefinitionStoreException​(String msg)
        Create a new BeanDefinitionStoreException.
        参数:
        msg - the detail message (used as exception message as-is)
      • BeanDefinitionStoreException

        public BeanDefinitionStoreException​(String msg,
                                            Throwable cause)
        Create a new BeanDefinitionStoreException.
        参数:
        msg - the detail message (used as exception message as-is)
        cause - the root cause (may be null)
      • BeanDefinitionStoreException

        public BeanDefinitionStoreException​(String resourceDescription,
                                            String msg)
        Create a new BeanDefinitionStoreException.
        参数:
        resourceDescription - description of the resource that the bean definition came from
        msg - the detail message (used as exception message as-is)
      • BeanDefinitionStoreException

        public BeanDefinitionStoreException​(String resourceDescription,
                                            String msg,
                                            Throwable cause)
        Create a new BeanDefinitionStoreException.
        参数:
        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​(String resourceDescription,
                                            String beanName,
                                            String msg)
        Create a new BeanDefinitionStoreException.
        参数:
        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​(String resourceDescription,
                                            String beanName,
                                            String msg,
                                            Throwable cause)
        Create a new BeanDefinitionStoreException.
        参数:
        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)
    • 方法详细资料

      • getResourceDescription

        public String getResourceDescription()
        Return the description of the resource that the bean definition came from, if available.