org.springframework.beans.factory.BeanCreationException.initCause()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(143)

本文整理了Java中org.springframework.beans.factory.BeanCreationException.initCause()方法的一些代码示例,展示了BeanCreationException.initCause()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。BeanCreationException.initCause()方法的具体详情如下:
包路径:org.springframework.beans.factory.BeanCreationException
类名称:BeanCreationException
方法名:initCause

BeanCreationException.initCause介绍

暂无

代码示例

代码示例来源:origin: spring-projects/spring-framework

  1. /**
  2. * Create a new BeanCreationException.
  3. * @param beanName the name of the bean requested
  4. * @param msg the detail message
  5. * @param cause the root cause
  6. */
  7. public BeanCreationException(String beanName, String msg, Throwable cause) {
  8. this(beanName, msg);
  9. initCause(cause);
  10. }

代码示例来源:origin: spring-projects/spring-framework

  1. /**
  2. * Create a new BeanCreationException.
  3. * @param resourceDescription description of the resource
  4. * that the bean definition came from
  5. * @param beanName the name of the bean requested
  6. * @param msg the detail message
  7. * @param cause the root cause
  8. */
  9. public BeanCreationException(@Nullable String resourceDescription, String beanName, String msg, Throwable cause) {
  10. this(resourceDescription, beanName, msg);
  11. initCause(cause);
  12. }

代码示例来源:origin: org.springframework/spring-beans

  1. /**
  2. * Create a new BeanCreationException.
  3. * @param beanName the name of the bean requested
  4. * @param msg the detail message
  5. * @param cause the root cause
  6. */
  7. public BeanCreationException(String beanName, String msg, Throwable cause) {
  8. this(beanName, msg);
  9. initCause(cause);
  10. }

代码示例来源:origin: org.springframework/spring-beans

  1. /**
  2. * Create a new BeanCreationException.
  3. * @param resourceDescription description of the resource
  4. * that the bean definition came from
  5. * @param beanName the name of the bean requested
  6. * @param msg the detail message
  7. * @param cause the root cause
  8. */
  9. public BeanCreationException(@Nullable String resourceDescription, String beanName, String msg, Throwable cause) {
  10. this(resourceDescription, beanName, msg);
  11. initCause(cause);
  12. }

代码示例来源:origin: camunda/camunda-bpm-platform

  1. /**
  2. * Create a new BeanCreationException.
  3. * @param beanName the name of the bean requested
  4. * @param msg the detail message
  5. * @param cause the root cause
  6. */
  7. public BeanCreationException(String beanName, String msg, Throwable cause) {
  8. this(beanName, msg);
  9. initCause(cause);
  10. }

代码示例来源:origin: camunda/camunda-bpm-platform

  1. /**
  2. * Create a new BeanCreationException.
  3. * @param resourceDescription description of the resource
  4. * that the bean definition came from
  5. * @param beanName the name of the bean requested
  6. * @param msg the detail message
  7. * @param cause the root cause
  8. */
  9. public BeanCreationException(String resourceDescription, String beanName, String msg, Throwable cause) {
  10. this(resourceDescription, beanName, msg);
  11. initCause(cause);
  12. }

相关文章