public class BeanInstantiationException extends FatalBeanException
コンストラクターと説明 |
---|
BeanInstantiationException(ClassSE<?> beanClass, StringSE msg) 新しい BeanInstantiationException を作成します。 |
BeanInstantiationException(ClassSE<?> beanClass, StringSE msg, ThrowableSE cause) 新しい BeanInstantiationException を作成します。 |
BeanInstantiationException(ConstructorSE<?> constructor, StringSE msg, ThrowableSE cause) 新しい BeanInstantiationException を作成します。 |
BeanInstantiationException(MethodSE constructingMethod, StringSE msg, ThrowableSE cause) 新しい BeanInstantiationException を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
ClassSE<?> | getBeanClass() 問題のある Bean クラスを返します(非 null )。 |
MethodSE | getConstructingMethod() 既知の場合、Bean 構築目的のデリゲートを返します。 |
ConstructorSE<?> | getConstructor() 既知の場合、問題のコンストラクターを返します。 |
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressedSE, fillInStackTraceSE, getCauseSE, getLocalizedMessageSE, getStackTraceSE, getSuppressedSE, initCauseSE, printStackTraceSE, printStackTraceSE, printStackTraceSE, setStackTraceSE, toStringSE
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public BeanInstantiationException(ClassSE<?> beanClass, StringSE msg)
beanClass
- 問題のある Bean クラス msg
- 詳細メッセージ public BeanInstantiationException(ClassSE<?> beanClass, StringSE msg, @Nullable ThrowableSE cause)
beanClass
- 問題のある Bean クラス msg
- 詳細メッセージ cause
- 根本原因 public BeanInstantiationException(ConstructorSE<?> constructor, StringSE msg, @Nullable ThrowableSE cause)
constructor
- 問題のあるコンストラクター msg
- 詳細メッセージ cause
- 根本原因 public BeanInstantiationException(MethodSE constructingMethod, StringSE msg, @Nullable ThrowableSE cause)
constructingMethod
- Bean 構築目的のデリゲート (必ずというわけではありませんが、通常は静的ファクトリメソッド)msg
- 詳細メッセージ cause
- 根本原因 public ClassSE<?> getBeanClass()
null
)。@Nullable public ConstructorSE<?> getConstructor()
null