com.ibm.websphere.ActivitySession
Class TransactionPendingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.websphere.ActivitySession.ActivitySessionException
-
- com.ibm.websphere.ActivitySession.TransactionPendingException
-
- All Implemented Interfaces:
- java.io.Serializable
public class TransactionPendingException extends ActivitySessionException
ATransactionPendingException
is thrown by the ActivitySession service if an attempt is made to associate an ActivitySession with a thread with which a transaction is already associated: an ActivitySession may not be nested within a transaction.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description TransactionPendingException()
Constructs a new TransactionPendingExceptionTransactionPendingException(java.lang.Exception ex)
Constructs a new TransactionPendingException with the given nested exceptionTransactionPendingException(java.lang.String msg)
Constructs a new TransactionPendingException with the given detail messageTransactionPendingException(java.lang.String msg, java.lang.Exception ex)
Constructs a new TransactionPendingException with the given detail message and nested exception
-
Method Summary
-
Methods inherited from class com.ibm.websphere.ActivitySession.ActivitySessionException
getNestedException
-
-
-
-
Constructor Detail
-
TransactionPendingException
public TransactionPendingException()
Constructs a new TransactionPendingException
-
TransactionPendingException
public TransactionPendingException(java.lang.String msg)
Constructs a new TransactionPendingException with the given detail message- Parameters:
msg
- The detail message
-
TransactionPendingException
public TransactionPendingException(java.lang.Exception ex)
Constructs a new TransactionPendingException with the given nested exception- Parameters:
ex
- The nested exception
-
TransactionPendingException
public TransactionPendingException(java.lang.String msg, java.lang.Exception ex)
Constructs a new TransactionPendingException with the given detail message and nested exception- Parameters:
msg
- The detail messageex
- The nested exception
-
-