OSGi™ Compendium
Release 7
 
- Detail: 
- Field | 
- Constr | 
- Method
 
 
- 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 and Description |  
| TransactionException(java.lang.String message)Creates a new TransactionException with the supplied message |  
| TransactionException(java.lang.String message,
                    java.lang.Throwable cause)Creates a new TransactionException with the supplied message and cause |  
 
 
- 
Method Summary
- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
 
 
- 
- 
Constructor Detail
- 
TransactionExceptionpublic TransactionException(java.lang.String message,
                            java.lang.Throwable cause)Creates a new TransactionException with the supplied message and cause 
- Parameters:
- message-
- cause-
 
 
 
 
 
OSGi™ Compendium
Release 7
 
- Detail: 
- Field | 
- Constr | 
- Method
 
 
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0