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
- public FunctionException(String msg, Throwable cause)
msg
- cause
- public FunctionException(Throwable cause)
cause
- public final void addException(Throwable cause)
cause
- public final List<Throwable> getExceptions()
public final void addExceptions(Collection<? extends Throwable> ex)
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.