Package io.jmix.ui.exception
Class SilentExceptionHandler
java.lang.Object
io.jmix.ui.exception.AbstractUiExceptionHandler
io.jmix.ui.exception.SilentExceptionHandler
- All Implemented Interfaces:
UiExceptionHandler
@Component("ui_SilentExceptionHandler")
@Order(900)
public class SilentExceptionHandler
extends AbstractUiExceptionHandler
-
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
-
Constructor Details
-
SilentExceptionHandler
public SilentExceptionHandler()
-
-
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
-