public class ConfigurationRuntimeExceptionHandling extends Object implements Serializable
Constructor and Description |
---|
ConfigurationRuntimeExceptionHandling() |
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 |
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 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 UndeployRethrowPolicy getUndeployRethrowPolicy()
public void setUndeployRethrowPolicy(UndeployRethrowPolicy undeployRethrowPolicy)
undeployRethrowPolicy
- indicatorCopyright © 2005–2018. All rights reserved.