Class ConfigurationRuntimeExceptionHandling
java.lang.Object
com.espertech.esper.common.client.configuration.runtime.ConfigurationRuntimeExceptionHandling
- All Implemented Interfaces:
Serializable
Configuration object for defining exception handling behavior.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add an exception handler factory class.void
Add an exception handler factory class name.void
addClasses
(List<String> classNames) Add a list of exception handler class names.Returns the list of exception handler factory class names, seeExceptionHandlerFactory
Returns the policy to instruct the runtime whether a module un-deploy rethrows runtime exceptions that are encountered during the undeploy.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.
-
Constructor Details
-
ConfigurationRuntimeExceptionHandling
public ConfigurationRuntimeExceptionHandling()
-
-
Method Details
-
getHandlerFactories
Returns the list of exception handler factory class names, seeExceptionHandlerFactory
- Returns:
- list of fully-qualified class names
-
addClass
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
Add a list of exception handler class names.- Parameters:
classNames
- to add
-
addClass
Add an exception handler factory class.The class provided should implement the
ExceptionHandlerFactory
interface.- Parameters:
exceptionHandlerFactoryClass
- class of implementation
-
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
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
-