Class CannotSerializeTransactionException

All Implemented Interfaces:
Serializable

@Deprecated(since="6.0.3") public class CannotSerializeTransactionException extends PessimisticLockingFailureException
Exception thrown on failure to complete a transaction in serialized mode due to update conflicts.

Consider handling the general PessimisticLockingFailureException instead, semantically including a wider range of locking-related failures.

Author:
Rod Johnson
See Also:
  • Constructor Details

    • CannotSerializeTransactionException

      public CannotSerializeTransactionException(String msg)
      Deprecated.
      Constructor for CannotSerializeTransactionException.
      Parameters:
      msg - the detail message
    • CannotSerializeTransactionException

      public CannotSerializeTransactionException(String msg, Throwable cause)
      Deprecated.
      Constructor for CannotSerializeTransactionException.
      Parameters:
      msg - the detail message
      cause - the root cause from the data access API in use