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
public class SynchronizationException extends RuntimeException
An exception which is thrown during transaction completion if a synchronizing resource'sbeforeCompletion()method fails.- Author:
- David M. Lloyd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SynchronizationException()Constructs a newSynchronizationExceptioninstance.SynchronizationException(String msg)Constructs a newSynchronizationExceptioninstance with an initial message.SynchronizationException(String msg, Throwable cause)Constructs a newSynchronizationExceptioninstance with an initial message and cause.SynchronizationException(Throwable 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 Detail
-
SynchronizationException
public SynchronizationException()
Constructs a newSynchronizationExceptioninstance. The message is left blank (null), and no cause is specified.
-
SynchronizationException
public SynchronizationException(String msg)
Constructs a newSynchronizationExceptioninstance with an initial message. No cause is specified.- Parameters:
msg- the message
-
SynchronizationException
public SynchronizationException(Throwable cause)
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
-
-