IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.ActivitySession
Class ActivitySessionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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:
Serialized Form

Constructor Summary
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
 java.lang.Exception 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

Parameters:
ex - The nested exception
See Also:
getNestedException()

ActivitySessionException

public ActivitySessionException(java.lang.String msg,
                                java.lang.Exception ex)
Constructs a new ActivitySessionException with the given detail message and nested exception.

Parameters:
msg - The detail message
ex - The nested exception
See Also:
getNestedException()
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

IBM WebSphere Application ServerTM
Release 7