クラス UnsatisfiedDependencyException
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
java.lang.RuntimeExceptionSE
org.springframework.core.NestedRuntimeException
org.springframework.beans.BeansException
org.springframework.beans.FatalBeanException
org.springframework.beans.factory.BeanCreationException
org.springframework.beans.factory.UnsatisfiedDependencyException
- 実装されているすべてのインターフェース:
- SerializableSE
Bean が、Bean ファクトリ定義で指定されていない他の Bean または単純なプロパティに依存している場合にスローされる例外。ただし、依存関係検査は有効になっています。
- 導入:
- 03.09.2003
- 作成者:
- Rod Johnson, Juergen Hoeller
- 関連事項:
- コンストラクターの概要コンストラクターコンストラクター説明- UnsatisfiedDependencyException- (StringSE resourceDescription, StringSE beanName, StringSE propertyName, StringSE msg) 新しい UnsatisfiedDependencyException を作成します。- UnsatisfiedDependencyException- (StringSE resourceDescription, StringSE beanName, StringSE propertyName, BeansException ex) 新しい UnsatisfiedDependencyException を作成します。- UnsatisfiedDependencyException- (StringSE resourceDescription, StringSE beanName, InjectionPoint injectionPoint, StringSE msg) 新しい UnsatisfiedDependencyException を作成します。- UnsatisfiedDependencyException- (StringSE resourceDescription, StringSE beanName, InjectionPoint injectionPoint, BeansException ex) 新しい UnsatisfiedDependencyException を作成します。
- メソッドのサマリー修飾子と型メソッド説明既知の場合、インジェクションポイント(フィールドまたはメソッド / コンストラクターパラメーター)を返します。- クラス org.springframework.beans.factory.BeanCreationException から継承されたメソッド- addRelatedCause, contains, getBeanName, getRelatedCauses, getResourceDescription, printStackTrace, printStackTrace, toString- クラス org.springframework.core.NestedRuntimeException から継承されたメソッド- getMostSpecificCause, getRootCause- クラス java.lang.ThrowableSE から継承されたメソッド- addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, setStackTraceSE
- コンストラクターの詳細- UnsatisfiedDependencyExceptionpublic UnsatisfiedDependencyException- (@Nullable StringSE resourceDescription, @Nullable StringSE beanName, StringSE propertyName, StringSE msg) 新しい UnsatisfiedDependencyException を作成します。- パラメーター:
- resourceDescription- Bean 定義の元となったリソースの説明
- beanName- リクエストされた Bean の名前
- propertyName- 満たせなかった Bean プロパティの名前
- msg- 詳細メッセージ
 
- UnsatisfiedDependencyExceptionpublic UnsatisfiedDependencyException- (@Nullable StringSE resourceDescription, @Nullable StringSE beanName, StringSE propertyName, BeansException ex) 新しい UnsatisfiedDependencyException を作成します。- パラメーター:
- resourceDescription- Bean 定義の元となったリソースの説明
- beanName- リクエストされた Bean の名前
- propertyName- 満たせなかった Bean プロパティの名前
- ex- 満たされていない依存関係を示す Bean 作成例外
 
- UnsatisfiedDependencyExceptionpublic UnsatisfiedDependencyException- (@Nullable StringSE resourceDescription, @Nullable StringSE beanName, @Nullable InjectionPoint injectionPoint, StringSE msg) 新しい UnsatisfiedDependencyException を作成します。- パラメーター:
- resourceDescription- Bean 定義の元となったリソースの説明
- beanName- リクエストされた Bean の名前
- injectionPoint- インジェクションポイント (フィールドまたはメソッド / コンストラクターのパラメーター)
- msg- 詳細メッセージ
- 導入:
- 4.3
 
- UnsatisfiedDependencyExceptionpublic UnsatisfiedDependencyException- (@Nullable StringSE resourceDescription, @Nullable StringSE beanName, @Nullable InjectionPoint injectionPoint, BeansException ex) 新しい UnsatisfiedDependencyException を作成します。- パラメーター:
- resourceDescription- Bean 定義の元となったリソースの説明
- beanName- リクエストされた Bean の名前
- injectionPoint- インジェクションポイント (フィールドまたはメソッド / コンストラクターのパラメーター)
- ex- 満たされていない依存関係を示す Bean 作成例外
- 導入:
- 4.3
 
 
- メソッドの詳細- getInjectionPoint既知の場合、インジェクションポイント(フィールドまたはメソッド / コンストラクターパラメーター)を返します。- 導入:
- 4.3