public interface FunctionExitHandler
Modifier and Type | Method and Description |
---|---|
void |
exitWithError(java.lang.Exception error,
boolean debug)
Exit the function with an error.
|
void |
exitWithNoData()
Exit the function indicating no data was supplied.
|
void |
exitWithSuccess()
Exit the function with success.
|
void exitWithError(java.lang.Exception error, boolean debug)
error
- The errordebug
- Whether to output debug information before exitingvoid exitWithSuccess()
void exitWithNoData()