From 1aa77ef81733a5c5573361ec396751c6fc1d8310 Mon Sep 17 00:00:00 2001 From: izeye Date: Tue, 15 Sep 2015 17:35:00 +0900 Subject: [PATCH] Add a missing `@throws` in Javadoc Closes gh-873 --- .../main/java/org/springframework/beans/factory/BeanFactory.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/BeanFactory.java b/spring-beans/src/main/java/org/springframework/beans/factory/BeanFactory.java index a801a8e5fb..3c6bd4c8b6 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/BeanFactory.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/BeanFactory.java @@ -162,6 +162,7 @@ public interface BeanFactory { * @return an instance of the single bean matching the required type * @throws NoSuchBeanDefinitionException if no bean of the given type was found * @throws NoUniqueBeanDefinitionException if more than one bean of the given type was found + * @throws BeansException if the bean could not be created * @since 3.0 * @see ListableBeanFactory */