Gemfire JavaDocs
Package org.apache.geode.cache.execute
Class FunctionInvocationTargetException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.geode.GemFireException
-
- org.apache.geode.cache.execute.FunctionException
-
- org.apache.geode.cache.execute.FunctionInvocationTargetException
-
- All Implemented Interfaces:
java.io.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 theThrowable.getCause()
is FunctionInvocationTargetException.- Since:
- GemFire 6.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FunctionInvocationTargetException(java.lang.String msg)
Construct an instance of FunctionInvocationTargetExceptionFunctionInvocationTargetException(java.lang.String msg, java.lang.Throwable cause)
Construct an instance of FunctionInvocationTargetExceptionFunctionInvocationTargetException(java.lang.String msg, DistributedMember id)
Construct an instance of FunctionInvocationTargetExceptionFunctionInvocationTargetException(java.lang.Throwable cause)
Construct an instance of FunctionInvocationTargetException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DistributedMember
getMemberId()
Method to get the member id of the Exception-
Methods inherited from class org.apache.geode.cache.execute.FunctionException
addException, addExceptions, getExceptions
-
Methods inherited from class org.apache.geode.GemFireException
getRootCause
-
-
-
-
Constructor Detail
-
FunctionInvocationTargetException
public FunctionInvocationTargetException(java.lang.Throwable cause)
Construct an instance of FunctionInvocationTargetException- Parameters:
cause
- a Throwable cause of this exception
-
FunctionInvocationTargetException
public FunctionInvocationTargetException(java.lang.String msg, DistributedMember id)
Construct an instance of FunctionInvocationTargetException- Parameters:
msg
- the error messageid
- the DistributedMember id of the source- Since:
- GemFire 6.5
-
FunctionInvocationTargetException
public FunctionInvocationTargetException(java.lang.String msg)
Construct an instance of FunctionInvocationTargetException- Parameters:
msg
- Exception message
-
FunctionInvocationTargetException
public FunctionInvocationTargetException(java.lang.String msg, java.lang.Throwable cause)
Construct an instance of FunctionInvocationTargetException- Parameters:
msg
- the error messagecause
- 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:
- GemFire 6.5
-
-