IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid
Class ObjectGridRPCException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.websphere.objectgrid.ObjectGridException
              extended by com.ibm.websphere.objectgrid.plugins.LoaderException
                  extended by com.ibm.websphere.objectgrid.ObjectGridRPCException
All Implemented Interfaces:
IObjectGridException, Serializable

Deprecated. The static deployment topology is deprecated in version 7.0. Use the dynamic deployment topology.

public class ObjectGridRPCException
extends LoaderException

This exception is thrown during ObjectGrid remote procedure call for client/server, configuration and system administration. Look at the throwable and message for the cause of this exception.

Since:
WAS XD 6.0.1
See Also:
Serialized Form

Constructor Summary
ObjectGridRPCException()
          Deprecated. Constructs a new ObjectGridRPCException with null as its detail message.
ObjectGridRPCException(String message)
          Deprecated. Constructs a new ObjectGridRPCException with the specified detail message.
ObjectGridRPCException(String message, Throwable cause)
          Deprecated. Constructs a new ObjectGridRPCException with the specified detail message and cause.
ObjectGridRPCException(Throwable cause)
          Deprecated. Constructs a new ObjectGridRPCException with a specified cause.
 
Method Summary
 int getReplicationGroup()
          Deprecated. Returns the replication group identifier for this exception.
 void setReplicationGroup(int replicationGroup)
          Deprecated. Sets the replication group identifier for this exception.
 
Methods inherited from class com.ibm.websphere.objectgrid.ObjectGridException
getCause, initCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectGridRPCException

public ObjectGridRPCException()
Deprecated. 
Constructs a new ObjectGridRPCException with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to the initCause method.

See Also:
ObjectGridException.initCause(Throwable)

ObjectGridRPCException

public ObjectGridRPCException(String message)
Deprecated. 
Constructs a new ObjectGridRPCException 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:
ObjectGridException.initCause(Throwable), Throwable.getMessage()

ObjectGridRPCException

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

Note that the detail message associated with cause is not automatically incorporated in this ObjectGridRPCException'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). (Anull value is permitted, and indicates that the cause is nonexistent or unknown).
See Also:
ObjectGridException.getCause(), Throwable.getMessage()

ObjectGridRPCException

public ObjectGridRPCException(Throwable cause)
Deprecated. 
Constructs a new ObjectGridRPCException with a specified cause. The cause and a detail message of (cause==null ? null : cause.toString()) is used (which typically contains the class and detail message of cause). This constructor is useful for ObjectGridRPCExceptions that are little more than wrappers for other throwables.

Parameters:
cause - is the exception that caused this exception to be thrown, which is saved for later retrieval by the getCause() method. A null value is permitted and indicates that the cause is nonexistent or is unknown.
See Also:
ObjectGridException.getCause()
Method Detail

getReplicationGroup

public int getReplicationGroup()
Deprecated. 
Returns the replication group identifier for this exception.

Returns:
the argument that was passed to the setReplicationGroup(int) method of this class or 0 if the setReplicationGroup method was not previously called for this object.
See Also:
setReplicationGroup(int)

setReplicationGroup

public void setReplicationGroup(int replicationGroup)
Deprecated. 
Sets the replication group identifier for this exception.

Parameters:
replicationGroup - The replication group identifier

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

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