Class ExceptionHandlersConfiguration

java.lang.Object
io.jmix.ui.exception.ExceptionHandlersConfiguration

public class ExceptionHandlersConfiguration extends Object
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 Details

    • ExceptionHandlersConfiguration

      public ExceptionHandlersConfiguration()
  • Method Details

    • setHandlerClasses

      public void setHandlerClasses(List<String> list)
      Set the list of exception handler class names, usually from spring.xml.
      Parameters:
      list - list of class names
    • getHandlerClasses

      public List<Class> getHandlerClasses()
      Get the list of exception handler class names.
      Returns:
      list of class names