クラス BeanNotOfRequiredTypeException
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
- 実装されたすべてのインターフェース:
SerializableSE
- 既知の直属サブクラス
BeanIsNotAFactoryException
Bean が予想される型と一致しない場合にスローされます。
- 作成者:
- Rod Johnson, Juergen Hoeller
- 関連事項:
コンストラクターのサマリー
コンストラクター説明BeanNotOfRequiredTypeException
(StringSE beanName, ClassSE<?> requiredType, ClassSE<?> actualType) 新しい BeanNotOfRequiredTypeException を作成します。方法の概要
クラス org.springframework.core.NestedRuntimeException から継承されたメソッド
contains, getMostSpecificCause, getRootCause
クラス java.lang.ThrowableSE から継承されたメソッド
addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, printStackTraceSE, printStackTraceSE, setStackTraceSE, toString
コンストラクターの詳細
メソッドの詳細
getBeanName
間違った型のインスタンスの名前を返します。getRequiredType
Bean に期待される型を返します。getActualType
見つかったインスタンスの実際の型を返します。