Package io.jmix.reportsui.exception
Class ReportExceptionHandler
java.lang.Object
io.jmix.ui.exception.AbstractUiExceptionHandler
io.jmix.reportsui.exception.ReportExceptionHandler
- All Implemented Interfaces:
UiExceptionHandler
@UIScope
@Component("report_ReportExceptionHandler")
public class ReportExceptionHandler
extends AbstractUiExceptionHandler
Handles reporting exceptions.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.exception.UiExceptionHandler
UiExceptionHandler.UiContext
-
Field Summary
Fields inherited from class io.jmix.ui.exception.AbstractUiExceptionHandler
classNames
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doHandle
(String className, String message, Throwable throwable, UiExceptionHandler.UiContext context) Perform exception handling.Methods inherited from class io.jmix.ui.exception.AbstractUiExceptionHandler
canHandle, handle
-
Field Details
-
messages
-
-
Constructor Details
-
ReportExceptionHandler
public ReportExceptionHandler()
-
-
Method Details
-
doHandle
protected void doHandle(String className, String message, @Nullable Throwable throwable, UiExceptionHandler.UiContext context) Description copied from class:AbstractUiExceptionHandler
Perform exception handling.- Specified by:
doHandle
in classAbstractUiExceptionHandler
- Parameters:
className
- actual exception class namemessage
- exception messagethrowable
- exception instance. Can be null if the exception occurred on the server side and this exception class isn't accessible by the client.context
- UI context
-