IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.spring
Class CannotGetObjectGridSessionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by com.ibm.websphere.objectgrid.spring.CannotGetObjectGridSessionException
All Implemented Interfaces:
Serializable

public class CannotGetObjectGridSessionException
extends NestedRuntimeException

This can be thrown by getSession if a new Session cannot be obtained for any reason.

Since:
WAS XD 6.1 FIX3, XC10
See Also:
Serialized Form

Constructor Summary
CannotGetObjectGridSessionException(String message)
          Constructs a new CannotGetObjectGridSessionException with the specified detail message.
CannotGetObjectGridSessionException(String message, Throwable cause)
          Constructs a new CannotGetObjectGridSessionException with the specified detail message and cause.
 
Method Summary
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

CannotGetObjectGridSessionException

public CannotGetObjectGridSessionException(String message,
                                           Throwable cause)
Constructs a new CannotGetObjectGridSessionException with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this CannotGetObjectGridSessionException's detail message.

Parameters:
message - the detail message (which is saved for later retrieval by the getMessage method).
cause - the cause (which is saved for later retrieval by the getCause method). (A null value is permitted, and indicates that the cause is nonexistent or unknown).
See Also:
Throwable.getCause(), NestedRuntimeException.getMessage()

CannotGetObjectGridSessionException

public CannotGetObjectGridSessionException(String message)
Constructs a new CannotGetObjectGridSessionException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to the initCause method.

Parameters:
message - the detail message. The detail message is saved for later retrieval by the getMessage method.
See Also:
Throwable.initCause(Throwable), NestedRuntimeException.getMessage()

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.