クラス CannotLoadBeanClassException
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.CannotLoadBeanClassException
- 実装されているすべてのインターフェース:
SerializableSE
BeanFactory が特定の Bean の指定されたクラスをロードできない場合にスローされる例外。
- 導入:
- 2.0
- 作成者:
- Juergen Hoeller
- 関連事項:
コンストラクターの概要
コンストラクターコンストラクター説明CannotLoadBeanClassException(@Nullable StringSE resourceDescription, StringSE beanName, @Nullable StringSE beanClassName, ClassNotFoundExceptionSE cause) 新しい CannotLoadBeanClassException を作成します。CannotLoadBeanClassException(@Nullable StringSE resourceDescription, StringSE beanName, @Nullable StringSE beanClassName, LinkageErrorSE cause) 新しい CannotLoadBeanClassException を作成します。方法の概要
修飾子と型メソッド説明ロードしようとしたクラスの名前を返します。リクエストされた Bean の名前を返します。Bean 定義の元となったリソースの説明を返します。クラス NestedRuntimeException から継承されたメソッド
contains, getMostSpecificCause, getRootCause
コンストラクターの詳細
CannotLoadBeanClassException
public CannotLoadBeanClassException(@Nullable StringSE resourceDescription, StringSE beanName, @Nullable StringSE beanClassName, ClassNotFoundExceptionSE cause) 新しい CannotLoadBeanClassException を作成します。- パラメーター:
resourceDescription- Bean 定義の元となったリソースの説明beanName- リクエストされた Bean の名前beanClassName- Bean クラスの名前cause- 根本原因
CannotLoadBeanClassException
public CannotLoadBeanClassException(@Nullable StringSE resourceDescription, StringSE beanName, @Nullable StringSE beanClassName, LinkageErrorSE cause) 新しい CannotLoadBeanClassException を作成します。- パラメーター:
resourceDescription- Bean 定義の元となったリソースの説明beanName- リクエストされた Bean の名前beanClassName- Bean クラスの名前cause- 根本原因
メソッドの詳細
getResourceDescription
getBeanName
リクエストされた Bean の名前を返します。getBeanClassName