@Component(value="cuba_AccessDeniedHandler") public class AccessDeniedHandler extends AbstractGenericExceptionHandler implements org.springframework.core.Ordered
UiExceptionHandler.UiContext
Modifier and Type | Field and Description |
---|---|
protected Messages |
messages |
classNames
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
HIGHEST_PLATFORM_PRECEDENCE, LOWEST_PLATFORM_PRECEDENCE
Constructor and Description |
---|
AccessDeniedHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
doHandle(java.lang.String className,
java.lang.String message,
java.lang.Throwable throwable,
WindowManager windowManager)
Perform exception handling.
|
int |
getOrder() |
canHandle, handle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handle
@Inject protected Messages messages
protected void doHandle(java.lang.String className, java.lang.String message, @Nullable java.lang.Throwable throwable, WindowManager windowManager)
AbstractGenericExceptionHandler
doHandle
in class AbstractGenericExceptionHandler
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.windowManager
- WindowManager instancepublic int getOrder()
getOrder
in interface org.springframework.core.Ordered