Interface | Description |
---|---|
UserActivitySession |
The UserActivitySession interface is used to begin and end ActivitySessions
and to query various attributes of the ActivitySession associated with the
calling thread.
|
Exception | Description |
---|---|
ActivitySessionAlreadyActiveException |
An
ActivitySessionAlreadyActiveException is thrown by the
ActivitySession service if an attempt is made to associate an ActivitySession
with a thread with which an ActivitySession is already associated. |
ActivitySessionCompletedException | |
ActivitySessionException |
ActivitySessionException is the superclass of all of the
ActivitySession-specific exceptions that can be thrown by the ActivitySession
service. |
ActivitySessionPendingException |
An
ActivitySessionPendingException is thrown by the ActivitySession
service when an attempt is made to checkpoint or end an ActivitySession which is
currently associated with outstanding asynchronous work. |
ActivitySessionResetException |
An
ActivitySessionResetException is thrown by the ActivitySession
service if a request to checkpoint an ActivitySession results in all of its
enlisted resources being reset. |
ContextPendingException |
A
ContextPendingException is thrown by the ActivitySession service
if an attempt is made to end an ActivitySession in checkpoint when a transaction
contained by the ActivitySession is still active. |
MixedOutcomeException |
A
MixedOutcomeException is thrown by the ActivitySession service
to indicate that all of the resources enlisted in an ActivitySession did not
complete in the same direction. |
NoActivitySessionException |
A
NoActivitySessionException is thrown by the ActivitySession
service if an attempt is made to manipulate an ActivitySession when there is
no ActivitySession active on the calling thread. |
NotOriginatorException |
A
NotOriginatorException is thrown by the ActivitySession service
if an attempt is made to end an ActivitySession in an execution environment
other than the one in which it originated. |
NotProcessedException |
A
NotProcessedException is thrown by the ActivitySession service
to indicate that a request to checkpoint or reset a resource was not processed
successfully. |
NotSupportedException |
A
NotSupportedException is thrown by the ActivitySession service
if an attempt is made to perform an operation which is not supported in the
calling environment. |
SystemException |
A
SystemException is thrown by the ActivitySession service if it
encouters an unexpected internal error. |
TimeoutOutOfRangeException |
A
TimeoutOutOfRangeException is thrown by the ActivitySession
service when a supplied timeout value is outwith the permitted range. |
TransactionPendingException |
A
TransactionPendingException 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. |