public class FailedSynchronizationException extends CacheRuntimeException
UserTransaction
(aka JTA
transaction), most likely the cause of the UserTransaction
's
javax.transaction.Status#STATUS_MARKED_ROLLBACK
status.UserTransaction.setRollbackOnly()
,
Transaction.registerSynchronization(javax.transaction.Synchronization)
,
Status
,
Serialized FormConstructor and Description |
---|
FailedSynchronizationException(java.lang.String msg)
Constructs an instance of
FailedSynchronizationException with the specified detail
message. |
FailedSynchronizationException(java.lang.String msg,
java.lang.Throwable cause)
Constructs an instance of
FailedSynchronizationException with the specified detail
message and cause. |
toString
getRootCause
public FailedSynchronizationException(java.lang.String msg)
FailedSynchronizationException
with the specified detail
message.msg
- the detail messagepublic FailedSynchronizationException(java.lang.String msg, java.lang.Throwable cause)
FailedSynchronizationException
with the specified detail
message and cause.msg
- the detail messagecause
- the causal Throwable