クラス BeanIsNotAFactoryException
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
java.lang.RuntimeExceptionSE
org.springframework.core.NestedRuntimeException
org.springframework.beans.BeansException
org.springframework.beans.factory.BeanNotOfRequiredTypeException
org.springframework.beans.factory.BeanIsNotAFactoryException
- 実装されているすべてのインターフェース:
- SerializableSE
Bean がファクトリではないが、ユーザーが指定された Bean 名のファクトリにアクセスしようとしたときにスローされる例外。Bean がファクトリであるかどうかは、FactoryBean インターフェースを実装しているかどうかによって決まります。
- 導入:
- 10.03.2003
- 作成者:
- Rod Johnson
- 関連事項:
- コンストラクターの概要コンストラクターコンストラクター説明- BeanIsNotAFactoryException- (StringSE name, ClassSE<?> actualType) 新しい BeanIsNotAFactoryException を作成します。
- メソッドのサマリー- クラス org.springframework.beans.factory.BeanNotOfRequiredTypeException から継承されたメソッド- getActualType, getBeanName, getRequiredType- クラス org.springframework.core.NestedRuntimeException から継承されたメソッド- contains, getMostSpecificCause, getRootCause- クラス java.lang.ThrowableSE から継承されたメソッド- addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, printStackTraceSE, printStackTraceSE, setStackTraceSE, toString
- コンストラクターの詳細- BeanIsNotAFactoryException新しい BeanIsNotAFactoryException を作成します。- パラメーター:
- name- リクエストされた Bean の名前
- actualType- 返された実際の型。予期した型と一致しませんでした