public static class ConfigurationEngineDefaults.ExceptionHandling
extends java.lang.Object
implements java.io.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(java.lang.Class exceptionHandlerFactoryClass)
Add an exception handler factory class.
|
void |
addClass(java.lang.String exceptionHandlerFactoryClassName)
Add an exception handler factory class name.
|
void |
addClasses(java.util.List<java.lang.String> classNames)
Add a list of exception handler class names.
|
java.util.List<java.lang.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 java.util.List<java.lang.String> getHandlerFactories()
ExceptionHandlerFactory
public void addClass(java.lang.String exceptionHandlerFactoryClassName)
Provide a fully-qualified class name of the implementation
of the ExceptionHandlerFactory
interface.
exceptionHandlerFactoryClassName
- class name of exception handler factorypublic void addClasses(java.util.List<java.lang.String> classNames)
classNames
- to addpublic void addClass(java.lang.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