GemFire 6.6.3

com.gemstone.gemfire.cache.execute
Class FunctionInvocationTargetException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.gemstone.gemfire.GemFireException
                  extended by com.gemstone.gemfire.cache.execute.FunctionException
                      extended by com.gemstone.gemfire.cache.execute.FunctionInvocationTargetException
All Implemented Interfaces:
Serializable

public class FunctionInvocationTargetException
extends FunctionException

Thrown if one of the function execution nodes goes away or cache is closed. Function needs to be re-executed if the Throwable.getCause() is FunctionInvocationTargetException.

Since:
6.0
See Also:
Serialized Form

Constructor Summary
FunctionInvocationTargetException(String msg)
          Construct an instance of FunctionInvocationTargetException
FunctionInvocationTargetException(String msg, DistributedMember id)
          Construct an instance of FunctionInvocationTargetException
FunctionInvocationTargetException(String msg, Throwable cause)
          Construct an instance of FunctionInvocationTargetException
FunctionInvocationTargetException(Throwable cause)
          Construct an instance of FunctionInvocationTargetException
 
Method Summary
 DistributedMember getMemberId()
          Method to get the member id of the Exception
 
Methods inherited from class com.gemstone.gemfire.cache.execute.FunctionException
addException, addExceptions, getExceptions
 
Methods inherited from class com.gemstone.gemfire.GemFireException
getRootCause
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FunctionInvocationTargetException

public FunctionInvocationTargetException(Throwable cause)
Construct an instance of FunctionInvocationTargetException

Parameters:
cause - a Throwable cause of this exception

FunctionInvocationTargetException

public FunctionInvocationTargetException(String msg,
                                         DistributedMember id)
Construct an instance of FunctionInvocationTargetException

Parameters:
msg - the error message
id - the DistributedMember id of the source
Since:
6.5

FunctionInvocationTargetException

public FunctionInvocationTargetException(String msg)
Construct an instance of FunctionInvocationTargetException

Parameters:
msg - Exception message

FunctionInvocationTargetException

public FunctionInvocationTargetException(String msg,
                                         Throwable cause)
Construct an instance of FunctionInvocationTargetException

Parameters:
msg - the error message
cause - a Throwable cause of this exception
Method Detail

getMemberId

public DistributedMember getMemberId()
Method to get the member id of the Exception

Returns:
DistributedMember id
Since:
6.5

GemFire 6.6.3

Copyright © 1997-2012 VMware, Inc. All rights reserved.