Class TransactionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.osgi.service.transaction.control.TransactionException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
TransactionRolledBackException
@ProviderType public class TransactionException extends java.lang.RuntimeException
An Exception indicating that there was a problem with starting, finishing, suspending or resuming a transaction- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransactionException(java.lang.String message)
Creates a new TransactionException with the supplied messageTransactionException(java.lang.String message, java.lang.Throwable cause)
Creates a new TransactionException with the supplied message and cause
-
-
-
Constructor Detail
-
TransactionException
public TransactionException(java.lang.String message)
Creates a new TransactionException with the supplied message- Parameters:
message
-
-
TransactionException
public TransactionException(java.lang.String message, java.lang.Throwable cause)
Creates a new TransactionException with the supplied message and cause- Parameters:
message
-cause
-
-
-