|
GemFire 6.6.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.gemstone.gemfire.GemFireException
com.gemstone.gemfire.cache.execute.FunctionException
public class FunctionException
Thrown to indicate incorrect execution of Functions in GemFire.
The exception string provides details on the cause of failure.
FunctionService
,
Serialized FormConstructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 |
Methods inherited from class com.gemstone.gemfire.GemFireException |
---|
getRootCause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FunctionException()
public FunctionException(String msg)
msg
- public FunctionException(String msg, Throwable cause)
msg
- cause
- public FunctionException(Throwable cause)
cause
- Method Detail |
---|
public final void addException(Throwable cause)
cause
- public final List<Throwable> getExceptions()
public final void addExceptions(Collection<? extends Throwable> ex)
|
GemFire 6.6.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |