Class TransactionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.osgi.service.transaction.control.TransactionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TransactionRolledBackException
An Exception indicating that there was a problem with starting, finishing,
suspending or resuming a transaction
- See Also:
-
Constructor Summary
ConstructorDescriptionTransactionException
(String message) Creates a new TransactionException with the supplied messageTransactionException
(String message, Throwable cause) Creates a new TransactionException with the supplied message and 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
-
TransactionException
Creates a new TransactionException with the supplied message- Parameters:
message
-
-
TransactionException
Creates a new TransactionException with the supplied message and cause- Parameters:
message
-cause
-
-