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)
msg
- the detail messagepublic FunctionException(String msg, Throwable cause)
msg
- the detail messagecause
- the causepublic FunctionException(Throwable cause)
cause
- the causepublic void addException(Throwable cause)
cause
- The exception to addpublic List<Throwable> getExceptions()
public void addExceptions(Collection<? extends Throwable> ex)
ex
- A collection of exceptions to be added