public class ExceptionHandlersConfiguration
extends java.lang.Object
ExceptionHandlers
via spring.xml.
If a project needs specific exception handlers, it should define a bean of this type with its own
id, e.g. refapp_ExceptionHandlersConfiguration
, and set the list of handler class
names in handlerClasses
property.
Constructor and Description |
---|
ExceptionHandlersConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Class> |
getHandlerClasses()
Get the list of exception handler class names.
|
void |
setHandlerClasses(java.util.List<java.lang.String> list)
Set the list of exception handler class names, usually from spring.xml.
|
public void setHandlerClasses(java.util.List<java.lang.String> list)
list
- list of class namespublic java.util.List<java.lang.Class> getHandlerClasses()