public class MismatchedUserSessionHandler extends AbstractExceptionHandler implements BeanLocatorAware
MismatchedUserSessionException
.Modifier and Type | Class and Description |
---|---|
static class |
MismatchedUserSessionHandler.MismatchedUserSessionExceptionDialog |
Modifier and Type | Field and Description |
---|---|
protected BeanLocator |
beanLocator |
Constructor and Description |
---|
MismatchedUserSessionHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
closeAllDialogs(AppUI ui) |
protected void |
doHandle(App app,
java.lang.String className,
java.lang.String message,
java.lang.Throwable throwable)
Perform exception handling.
|
void |
setBeanLocator(BeanLocator beanLocator) |
protected void |
showMismatchedSessionDialog(AppUI ui) |
canHandle, handle
protected BeanLocator beanLocator
protected void doHandle(App app, java.lang.String className, java.lang.String message, @Nullable java.lang.Throwable throwable)
AbstractExceptionHandler
doHandle
in class AbstractExceptionHandler
app
- current App
instanceclassName
- 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.public void setBeanLocator(BeanLocator beanLocator)
setBeanLocator
in interface BeanLocatorAware
protected void closeAllDialogs(AppUI ui)
protected void showMismatchedSessionDialog(AppUI ui)