Package org.wildfly.transaction.client
Class SynchronizationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.wildfly.transaction.client.SynchronizationException
- All Implemented Interfaces:
Serializable
An exception which is thrown during transaction completion if a synchronizing resource's
beforeCompletion() method fails.- Author:
- David M. Lloyd
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newSynchronizationExceptioninstance.Constructs a newSynchronizationExceptioninstance with an initial message.SynchronizationException(String msg, Throwable cause) Constructs a newSynchronizationExceptioninstance with an initial message and cause.Constructs a newSynchronizationExceptioninstance with an initial cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SynchronizationException
public SynchronizationException()Constructs a newSynchronizationExceptioninstance. The message is left blank (null), and no cause is specified. -
SynchronizationException
Constructs a newSynchronizationExceptioninstance with an initial message. No cause is specified.- Parameters:
msg- the message
-
SynchronizationException
Constructs a newSynchronizationExceptioninstance with an initial cause. If a non-nullcause is specified, its message is used to initialize the message of thisSynchronizationException; otherwise the message is left blank (null).- Parameters:
cause- the cause
-
SynchronizationException
Constructs a newSynchronizationExceptioninstance with an initial message and cause.- Parameters:
msg- the messagecause- the cause
-