Class DefaultFunctionExitHandler

  • All Implemented Interfaces:
    FunctionExitHandler

    public class DefaultFunctionExitHandler
    extends java.lang.Object
    implements FunctionExitHandler
    Default implementation that will exit using System.exit(int).
    Since:
    1.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultFunctionExitHandler

        public DefaultFunctionExitHandler()