Package io.jmix.securityflowui.exception
Class AccessDeniedExceptionHandler
java.lang.Object
io.jmix.flowui.exception.AbstractUiExceptionHandler
io.jmix.securityflowui.exception.AccessDeniedExceptionHandler
- All Implemented Interfaces:
UiExceptionHandler
@Component("sec_AccessDeniedExceptionHandler")
public class AccessDeniedExceptionHandler
extends AbstractUiExceptionHandler
Handles AccessDeniedExceptionHandler that can be thrown by checking access to the dialog.
Displays violation messages as on-screen notifications.
-
Field Summary
Fields inherited from class io.jmix.flowui.exception.AbstractUiExceptionHandler
classNames
-
Constructor Summary
ConstructorDescriptionAccessDeniedExceptionHandler
(Notifications notifications, Messages messages) -
Method Summary
Methods inherited from class io.jmix.flowui.exception.AbstractUiExceptionHandler
canHandle, handle
-
Field Details
-
notifications
-
messages
-
-
Constructor Details
-
AccessDeniedExceptionHandler
-
-
Method Details
-
doHandle
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.
-