public class BeanCreationException extends FatalBeanException
| コンストラクターと説明 |
|---|
BeanCreationException(StringSE msg) 新しい BeanCreationException を作成します。 |
BeanCreationException(StringSE beanName, StringSE msg) 新しい BeanCreationException を作成します。 |
BeanCreationException(StringSE resourceDescription, StringSE beanName, StringSE msg) 新しい BeanCreationException を作成します。 |
BeanCreationException(StringSE resourceDescription, StringSE beanName, StringSE msg, ThrowableSE cause) 新しい BeanCreationException を作成します。 |
BeanCreationException(StringSE beanName, StringSE msg, ThrowableSE cause) 新しい BeanCreationException を作成します。 |
BeanCreationException(StringSE msg, ThrowableSE cause) 新しい BeanCreationException を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | addRelatedCause(ThrowableSE ex) 関連する原因をこの Bean 作成例外に追加します。これは、障害の直接の原因ではなく、同じ Bean インスタンスの作成の早い段階で発生したものです。 |
boolean | contains(ClassSE<?> exClass) この例外に特定の型の例外が含まれているかどうかを確認します。特定のクラス自体のものであるか、特定の型のネストされた原因が含まれています。 |
StringSE | getBeanName() リクエストされた Bean の名前があれば、それを返します。 |
ThrowableSE[] | getRelatedCauses() 関連する原因があれば返します。 |
StringSE | getResourceDescription()Bean 定義が由来するリソースの説明があれば、それを返します。 |
void | printStackTrace(PrintStreamSE ps) |
void | printStackTrace(PrintWriterSE pw) |
StringSE | toString() |
getMessage, getMostSpecificCause, getRootCauseaddSuppressedSE, fillInStackTraceSE, getCauseSE, getLocalizedMessageSE, getStackTraceSE, getSuppressedSE, initCauseSE, printStackTraceSE, setStackTraceSEcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic BeanCreationException(StringSE msg)
msg - 詳細メッセージ public BeanCreationException(StringSE msg, ThrowableSE cause)
msg - 詳細メッセージ cause - 根本原因 public BeanCreationException(StringSE beanName, StringSE msg)
beanName - リクエストされた Bean の名前 msg - 詳細メッセージ public BeanCreationException(StringSE beanName, StringSE msg, ThrowableSE cause)
beanName - リクエストされた Bean の名前 msg - 詳細メッセージ cause - 根本原因 public BeanCreationException(@Nullable StringSE resourceDescription, @Nullable StringSE beanName, StringSE msg)
resourceDescription - Bean 定義の元となったリソースの説明 beanName - リクエストされた Bean の名前 msg - 詳細メッセージ public BeanCreationException(@Nullable StringSE resourceDescription, StringSE beanName, StringSE msg, ThrowableSE cause)
resourceDescription - Bean 定義の元となったリソースの説明 beanName - リクエストされた Bean の名前 msg - 詳細メッセージ cause - 根本原因 @Nullable public StringSE getResourceDescription()
public void addRelatedCause(ThrowableSE ex)
ex - 追加する関連原因 @Nullable public ThrowableSE[] getRelatedCauses()
null public StringSE toString()
ThrowableSE の toStringSE public void printStackTrace(PrintStreamSE ps)
ThrowableSE の printStackTraceSE public void printStackTrace(PrintWriterSE pw)
ThrowableSE の printStackTraceSE public boolean contains(@Nullable ClassSE<?> exClass)
NestedRuntimeExceptionNestedRuntimeException の contains exClass - 検索する例外型