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(String msg)
Creates new function exception with given error message.
|
FunctionException(String msg,
Throwable cause)
Creates new function exception with given error message and optional nested exception.
|
FunctionException(Throwable cause)
Creates new function exception given throwable as a cause and source of error message.
|
Modifier and Type | Method and Description |
---|---|
void |
addException(Throwable cause)
Adds exceptions thrown from different nodes to a ds
|
void |
addExceptions(Collection<? extends Throwable> ex)
Adds the list of exceptions provided
|
List<Throwable> |
getExceptions()
Returns the list of exceptions thrown from different nodes
|
getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FunctionException()
public FunctionException(String msg)
public FunctionException(String msg, Throwable cause)
public FunctionException(Throwable cause)
public void addException(Throwable cause)
public List<Throwable> getExceptions()
public void addExceptions(Collection<? extends Throwable> ex)