public class FunctionException extends GemFireException
The exception string provides details on the cause of failure.
FunctionService
,
Serialized FormConstructor and Description |
---|
FunctionException()
Creates new function exception with given error message.
|
FunctionException(java.lang.String msg)
Creates new function exception with given error message.
|
FunctionException(java.lang.String msg,
java.lang.Throwable cause)
Creates new function exception with given error message and optional nested exception.
|
FunctionException(java.lang.Throwable cause)
Creates new function exception given throwable as a cause and source of error message.
|
Modifier and Type | Method and Description |
---|---|
void |
addException(java.lang.Throwable cause)
Adds exceptions thrown from different nodes to a ds
|
void |
addExceptions(java.util.Collection<? extends java.lang.Throwable> ex)
Adds the list of exceptions provided
|
java.util.List<java.lang.Throwable> |
getExceptions()
Returns the list of exceptions thrown from different nodes
|
getRootCause
public FunctionException()
public FunctionException(java.lang.String msg)
msg
- public FunctionException(java.lang.String msg, java.lang.Throwable cause)
msg
- cause
- public FunctionException(java.lang.Throwable cause)
cause
- public final void addException(java.lang.Throwable cause)
cause
- public final java.util.List<java.lang.Throwable> getExceptions()
public final void addExceptions(java.util.Collection<? extends java.lang.Throwable> ex)