public class ConfigurationRuntimeExceptionHandling
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ConfigurationRuntimeExceptionHandling() |
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 |
UndeployRethrowPolicy |
getUndeployRethrowPolicy()
Returns the policy to instruct the runtimewhether a module un-deploy rethrows runtime exceptions that are encountered
during the undeploy.
|
void |
setUndeployRethrowPolicy(UndeployRethrowPolicy undeployRethrowPolicy)
Sets the policy to instruct the runtimewhether a module un-deploy rethrows runtime exceptions that are encountered
during the undeploy for any statement that is undeployed.
|
public ConfigurationRuntimeExceptionHandling()
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 UndeployRethrowPolicy getUndeployRethrowPolicy()
public void setUndeployRethrowPolicy(UndeployRethrowPolicy undeployRethrowPolicy)
undeployRethrowPolicy
- indicator