com.ibm.websphere.ActivitySession
Class ActivitySessionException
- java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.websphere.ActivitySession.ActivitySessionException
All implemented interfaces:
java.io.Serializable
Direct known subclasses:
ActivitySessionAlreadyActiveException, ActivitySessionCompletedException, ActivitySessionPendingException, ActivitySessionResetException, ContextPendingException, MixedOutcomeException, NoActivitySessionException, NotOriginatorException, NotProcessedException, NotSupportedException, SystemException, TimeoutOutOfRangeException, TransactionPendingException
- public class ActivitySessionException
- extends java.lang.Exception
ActivitySessionException
is the superclass of all of the
ActivitySession-specific exceptions that can be thrown by the ActivitySession
service.
See Also:
Constructor Summary
Constructor and Description |
---|
ActivitySessionException()
Constructs a new ActivitySessionException
|
ActivitySessionException(java.lang.Exception ex)
Constructs a new ActivitySessionException with the given nested exception
|
ActivitySessionException(java.lang.String msg)
Constructs a new ActivitySessionException with the given detail message
|
ActivitySessionException(java.lang.String msg,java.lang.Exception ex)
Constructs a new ActivitySessionException with the given detail
message and nested exception.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getNestedException()
Returns the exception nested within this ActivitySessionException.
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail
ActivitySessionException
- public ActivitySessionException( )
Constructs a new ActivitySessionException
ActivitySessionException
- public ActivitySessionException( java.lang.String msg)
Constructs a new ActivitySessionException with the given detail message
Parameters:
msg
- The detail message ActivitySessionException
- public ActivitySessionException( java.lang.Exception ex)
Constructs a new ActivitySessionException with the given nested exception
ActivitySessionException
- public ActivitySessionException( java.lang.String msg,
- java.lang.Exception ex)
Constructs a new ActivitySessionException with the given detail
message and nested exception.
Method Detail
getNestedException
- public java.lang.Exception getNestedException( )
Returns the exception nested within this ActivitySessionException.
The nested exception is typically the exception, if any, that caused
this exception to be thrown.
Returns:
The nested exception