类 BeanCreationException

    • 构造器详细资料

      • BeanCreationException

        public BeanCreationException​(String beanName,
                                     String msg)
        Create a new BeanCreationException.
        参数:
        beanName - the name of the bean requested
        msg - the detail message
      • BeanCreationException

        public BeanCreationException​(String beanName,
                                     String msg,
                                     Throwable cause)
        Create a new BeanCreationException.
        参数:
        beanName - the name of the bean requested
        msg - the detail message
        cause - the root cause
      • BeanCreationException

        public BeanCreationException​(String resourceDescription,
                                     String beanName,
                                     String msg)
        Create a new BeanCreationException.
        参数:
        resourceDescription - description of the resource that the bean definition came from
        beanName - the name of the bean requested
        msg - the detail message
      • BeanCreationException

        public BeanCreationException​(String resourceDescription,
                                     String beanName,
                                     String msg,
                                     Throwable cause)
        Create a new BeanCreationException.
        参数:
        resourceDescription - description of the resource that the bean definition came from
        beanName - the name of the bean requested
        msg - the detail message
        cause - the root cause