public class DefaultFunctionExitHandler extends Object implements FunctionExitHandler
System.exit(int).| Constructor and Description | 
|---|
DefaultFunctionExitHandler()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
exitWithError(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. 
 | 
public void exitWithError(Exception error, boolean debug)
FunctionExitHandlerexitWithError in interface FunctionExitHandlererror - The errordebug - Whether to output debug information before exitingpublic void exitWithSuccess()
FunctionExitHandlerexitWithSuccess in interface FunctionExitHandlerpublic void exitWithNoData()
FunctionExitHandlerexitWithNoData in interface FunctionExitHandler