|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.objectweb.fractal.task.core.composition.FunctionExecutionException
public class FunctionExecutionException
Exception thrown by Function
when an error occurs.
Constructor Summary | |
---|---|
FunctionExecutionException(Function function)
Creates a FunctionExecutionException . |
|
FunctionExecutionException(Function function,
java.lang.String message)
Creates a FunctionExecutionException . |
|
FunctionExecutionException(Function function,
java.lang.String message,
java.lang.Throwable cause)
Creates a FunctionExecutionException . |
|
FunctionExecutionException(Function function,
java.lang.Throwable cause)
Creates a FunctionExecutionException . |
Method Summary | |
---|---|
Function |
getFunction()
|
java.lang.String |
getFunctionName()
|
void |
setFunctionName(java.lang.String functionName)
Sets the name of the function to be used in the exception message. |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FunctionExecutionException(Function function)
FunctionExecutionException
.
function
- the function object that raise the error.public FunctionExecutionException(Function function, java.lang.String message)
FunctionExecutionException
.
function
- the function object that raise the error.message
- the detail messagepublic FunctionExecutionException(Function function, java.lang.Throwable cause)
FunctionExecutionException
.
function
- the function object that raise the error.cause
- the causepublic FunctionExecutionException(Function function, java.lang.String message, java.lang.Throwable cause)
FunctionExecutionException
.
function
- the function object that raise the error.message
- the detail messagecause
- the causeMethod Detail |
---|
public Function getFunction()
public java.lang.String getFunctionName()
public void setFunctionName(java.lang.String functionName)
functionName
- the name of the function to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |