Class ConfigurationRuntimeExceptionHandling

java.lang.Object
com.espertech.esper.common.client.configuration.runtime.ConfigurationRuntimeExceptionHandling
All Implemented Interfaces:
Serializable

public class ConfigurationRuntimeExceptionHandling extends Object implements Serializable
Configuration object for defining exception handling behavior.
See Also:
  • Constructor Details

    • ConfigurationRuntimeExceptionHandling

      public ConfigurationRuntimeExceptionHandling()
  • Method Details

    • getHandlerFactories

      public List<String> getHandlerFactories()
      Returns the list of exception handler factory class names, see ExceptionHandlerFactory
      Returns:
      list of fully-qualified class names
    • addClass

      public void addClass(String exceptionHandlerFactoryClassName)
      Add an exception handler factory class name.

      Provide a fully-qualified class name of the implementation of the ExceptionHandlerFactory interface.

      Parameters:
      exceptionHandlerFactoryClassName - class name of exception handler factory
    • addClasses

      public void addClasses(List<String> classNames)
      Add a list of exception handler class names.
      Parameters:
      classNames - to add
    • addClass

      public void addClass(Class exceptionHandlerFactoryClass)
      Add an exception handler factory class.

      The class provided should implement the ExceptionHandlerFactory interface.

      Parameters:
      exceptionHandlerFactoryClass - class of implementation
    • getUndeployRethrowPolicy

      public UndeployRethrowPolicy getUndeployRethrowPolicy()
      Returns the policy to instruct the runtime whether a module un-deploy rethrows runtime exceptions that are encountered during the undeploy. By default we are logging exceptions.
      Returns:
      indicator
    • setUndeployRethrowPolicy

      public void setUndeployRethrowPolicy(UndeployRethrowPolicy undeployRethrowPolicy)
      Sets the policy to instruct the runtime whether a module un-deploy rethrows runtime exceptions that are encountered during the undeploy for any statement that is undeployed. By default we are logging exceptions.
      Parameters:
      undeployRethrowPolicy - indicator