パッケージ org.springframework.dao
クラス CannotSerializeTransactionException
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
java.lang.RuntimeExceptionSE
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.TransientDataAccessException
org.springframework.dao.ConcurrencyFailureException
org.springframework.dao.PessimisticLockingFailureException
org.springframework.dao.CannotSerializeTransactionException
- 実装されているすべてのインターフェース:
- SerializableSE
@DeprecatedSE(since="6.0.3")
public class CannotSerializeTransactionException
extends PessimisticLockingFailureException
 使用すべきではありません。
 更新の競合が原因で、直列化モードでトランザクションを完了できなかった場合にスローされる例外。
 代わりに、一般的な PessimisticLockingFailureException を処理することを検討してください。意味的には、より広い範囲のロック関連の障害が含まれます。
- 作成者:
- Rod Johnson
- 関連事項:
- コンストラクターの概要コンストラクターコンストラクター説明使用すべきではありません。CannotSerializeTransactionException のコンストラクター。- CannotSerializeTransactionException- (StringSE msg, ThrowableSE cause) 使用すべきではありません。CannotSerializeTransactionException のコンストラクター。
- メソッドのサマリー- クラス org.springframework.core.NestedRuntimeException から継承されたメソッド- contains, getMostSpecificCause, getRootCause- クラス java.lang.ThrowableSE から継承されたメソッド- addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, printStackTraceSE, printStackTraceSE, setStackTraceSE, toString
- コンストラクターの詳細- CannotSerializeTransactionException使用すべきではありません。CannotSerializeTransactionException のコンストラクター。- パラメーター:
- msg- 詳細メッセージ
 
- CannotSerializeTransactionException使用すべきではありません。CannotSerializeTransactionException のコンストラクター。- パラメーター:
- msg- 詳細メッセージ
- cause- 使用中のデータアクセス API の根本原因
 
 
PessimisticLockingFailureException/CannotAcquireLockExceptionを推奨