public static class ConfigurationEngineDefaults.ExceptionHandling extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ConfigurationEngineDefaults.ExceptionHandling.UndeployRethrowPolicy
Enumeration of blocking techniques.
|
Constructor and Description |
---|
ExceptionHandling() |
Modifier and Type | Method and Description |
---|---|
void |
addClass(Class exceptionHandlerFactoryClass)
Add an exception handler factory class.
|
void |
addClass(String exceptionHandlerFactoryClassName)
Add an exception handler factory class name.
|
void |
addClasses(List<String> classNames)
Add a list of exception handler class names.
|
List<String> |
getHandlerFactories()
Returns the list of exception handler factory class names,
see
ExceptionHandlerFactory |
ConfigurationEngineDefaults.ExceptionHandling.UndeployRethrowPolicy |
getUndeployRethrowPolicy()
Returns the policy to instruct the engine whether a module un-deploy rethrows runtime exceptions that are encountered
during the undeploy for any statement that is undeployed.
|
void |
setUndeployRethrowPolicy(ConfigurationEngineDefaults.ExceptionHandling.UndeployRethrowPolicy undeployRethrowPolicy)
Sets the policy to instruct the engine whether a module un-deploy rethrows runtime exceptions that are encountered
during the undeploy for any statement that is undeployed.
|
public List<String> getHandlerFactories()
ExceptionHandlerFactory
public void addClass(String exceptionHandlerFactoryClassName)
Provide a fully-qualified class name of the implementation
of the ExceptionHandlerFactory
interface.
exceptionHandlerFactoryClassName
- class name of exception handler factorypublic void addClasses(List<String> classNames)
classNames
- to addpublic void addClass(Class exceptionHandlerFactoryClass)
The class provided should implement the
ExceptionHandlerFactory
interface.
exceptionHandlerFactoryClass
- class of implementationpublic ConfigurationEngineDefaults.ExceptionHandling.UndeployRethrowPolicy getUndeployRethrowPolicy()
public void setUndeployRethrowPolicy(ConfigurationEngineDefaults.ExceptionHandling.UndeployRethrowPolicy undeployRethrowPolicy)
undeployRethrowPolicy
- indicator