Package io.jmix.ui.exception
Class ExceptionHandlersConfiguration
java.lang.Object
io.jmix.ui.exception.ExceptionHandlersConfiguration
Class that is used to configure
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the list of exception handler class names.voidsetHandlerClasses(List<String> list) Set the list of exception handler class names, usually from spring.xml.
-
Constructor Details
-
ExceptionHandlersConfiguration
public ExceptionHandlersConfiguration()
-
-
Method Details
-
setHandlerClasses
Set the list of exception handler class names, usually from spring.xml.- Parameters:
list- list of class names
-
getHandlerClasses
Get the list of exception handler class names.- Returns:
- list of class names
-