IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.datagrid
Interface EntryErrorValue


public interface EntryErrorValue

This is returned as the value when the AgentManager is unable to run the agent on the server, the server is unable to complete the agent's transaction or the agent throws an exception. This value can be introspected to determine the server and partition in which the error occurred.

Since:
WAS XD 6.1

Method Summary
 String getErrorExceptionString()
          The toString of the exception thrown by the agent.
 Throwable getException()
          The exception thrown by the agent.
 String getExceptionClassName()
          This is the class name for the thrown exception
 int getPartition()
          The partition of the agent that threw the exception.
 String getServerName()
          The server where this exception occurred
 

Method Detail

getErrorExceptionString

String getErrorExceptionString()
The toString of the exception thrown by the agent.

Returns:
the exception string.

getExceptionClassName

String getExceptionClassName()
This is the class name for the thrown exception

Returns:
the exception class name
See Also:
KeyNotFoundException

getServerName

String getServerName()
The server where this exception occurred

Returns:
the server name

getException

Throwable getException()
The exception thrown by the agent.

This may return a null if the client does not have the required exeption available on the class path. Use the getExceptionClassName and getErrorExceptionString methods to retrieve details of the exception.

Returns:
the exception
Since:
WAS XD 6.1 FIX3

getPartition

int getPartition()
The partition of the agent that threw the exception.

Returns:
the agent's partition
Since:
WAS XD 6.1 FIX3

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

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