public class TransactionSystemException extends TransactionException
コンストラクターと説明 |
---|
TransactionSystemException(StringSE msg) TransactionSystemException のコンストラクター。 |
TransactionSystemException(StringSE msg, ThrowableSE cause) TransactionSystemException のコンストラクター。 |
修飾子と型 | メソッドと説明 |
---|---|
boolean | contains(ClassSE<?> exType) この例外に特定の型の例外が含まれているかどうかを確認します。特定のクラス自体のものであるか、特定の型のネストされた原因が含まれています。 |
ThrowableSE | getApplicationException() このトランザクション例外がある場合は、その前にスローされたアプリケーション例外を返します。 |
ThrowableSE | getOriginalException() 失敗したトランザクション内で最初にスローされた例外を返します。 |
void | initApplicationException(ThrowableSE ex) このトランザクション例外の前にスローされたアプリケーション例外を設定し、TransactionSystemException をオーバーライドしても元の例外を保持します。 |
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 TransactionSystemException(StringSE msg)
msg
- 詳細メッセージ public TransactionSystemException(StringSE msg, ThrowableSE cause)
msg
- 詳細メッセージ cause
- 使用中のトランザクション API の根本原因 public void initApplicationException(ThrowableSE ex)
ex
- アプリケーション例外 IllegalStateExceptionSE
- この TransactionSystemException がすでにアプリケーション例外を保持している場合 @Nullable public final ThrowableSE getApplicationException()
null
@Nullable public ThrowableSE getOriginalException()
null
public boolean contains(@Nullable ClassSE<?> exType)
NestedRuntimeException
NestedRuntimeException
の contains
exType
- 検索する例外型