public class ExceptionDialog extends CubaWindow
CubaWindow.PreCloseEvent, CubaWindow.PreCloseListener
com.vaadin.ui.Window.CloseEvent, com.vaadin.ui.Window.CloseListener, com.vaadin.ui.Window.CloseShortcut, com.vaadin.ui.Window.ResizeEvent, com.vaadin.ui.Window.ResizeListener, com.vaadin.ui.Window.WindowModeChangeEvent, com.vaadin.ui.Window.WindowModeChangeListener, com.vaadin.ui.Window.WindowOrderChangeEvent, com.vaadin.ui.Window.WindowOrderChangeListener
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.HasContextHelp, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
com.vaadin.server.Sizeable.Unit
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
additionalExceptionReportBinding |
protected ClientConfig |
clientConfig |
protected com.vaadin.ui.Button |
copyButton |
protected boolean |
isStackTraceVisible |
protected com.vaadin.ui.VerticalLayout |
mainLayout |
protected Messages |
messages |
protected ExceptionReportService |
reportService |
protected Security |
security |
protected com.vaadin.ui.Button |
showStackTraceButton |
protected com.vaadin.ui.TextArea |
stackTraceTextArea |
protected TimeSource |
timeSource |
protected UserSessionSource |
userSessionSource |
protected WindowConfig |
windowConfig |
BEFORE_WINDOW_CLOSE_METHOD, contextActionHandlers, contextActionMapper, rpc
Constructor and Description |
---|
ExceptionDialog(java.lang.Throwable throwable) |
ExceptionDialog(java.lang.Throwable throwable,
java.lang.String caption,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
protected void |
forceLogout() |
java.util.Map<java.lang.String,java.lang.Object> |
getAdditionalExceptionReportBinding() |
protected java.lang.String |
getStackTrace(java.lang.Throwable throwable) |
protected java.lang.String |
getText(java.lang.Throwable rootCause) |
protected void |
logoutPrompt() |
protected java.lang.Throwable |
removeRemoteException(java.lang.Throwable throwable) |
void |
sendSupportEmail(java.lang.String message,
java.lang.String stackTrace) |
void |
setAdditionalExceptionReportBinding(java.util.Map<java.lang.String,java.lang.Object> binding) |
void |
setStackTraceVisible(boolean visible) |
addContextActionHandler, addPreCloseListener, beforeClientResponse, close, forceClose, getCloseOnClickOutside, getContextActions, getState, getState, removeContextActionHandler, removePreCloseListener, setCloseOnClickOutside
addBlurListener, addCloseListener, addCloseShortcut, addFocusListener, addResizeListener, addWindowModeChangeListener, addWindowOrderChangeListener, bringToFront, center, changeVariables, fireClose, fireResize, fireWindowOrderChange, fireWindowWindowModeChange, focus, getAssistiveDescription, getAssistivePostfix, getAssistivePrefix, getAssistiveRole, getBringToFront, getCloseShortcuts, getCustomAttributes, getOrderPosition, getPositionX, getPositionY, getTabStopBottomAssistiveText, getTabStopTopAssistiveText, getWindowMode, hasCloseShortcut, isClosable, isDraggable, isModal, isResizable, isResizeLazy, isTabStopEnabled, paintContent, readDesign, readDesignChildren, removeAllCloseShortcuts, removeCloseListener, removeCloseShortcut, removeCloseShortcut, removeResizeListener, removeWindowModeChangeListener, setAssistiveDescription, setAssistivePostfix, setAssistivePrefix, setAssistiveRole, setClosable, setCloseShortcut, setDraggable, setModal, setParent, setPosition, setPositionX, setPositionY, setResizable, setResizeLazy, setTabStopBottomAssistiveText, setTabStopEnabled, setTabStopTopAssistiveText, setWindowMode, writeDesign
addAction, addActionHandler, addClickListener, getActionManager, getScrollLeft, getScrollTop, getTabIndex, removeAction, removeActionHandler, removeAllActionHandlers, removeClickListener, setCaption, setScrollLeft, setScrollTop, setTabIndex
addComponentAttachListener, addComponentDetachListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentCount, getContent, iterator, removeComponentAttachListener, removeComponentDetachListener, removeFromParent, setContent, setHeight, setWidth
addContextClickListener, addContextHelpIconClickListener, addListener, addShortcutListener, addStyleName, attach, detach, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, getCaption, getComponentError, getComponentErrorProvider, getContextHelpText, getCubaId, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getRequiredError, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setCubaId, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeightUndefined, setIcon, setId, setLocale, setPrimaryStyleName, setReadOnly, setRequiredError, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleName, addStyleNames, attach, getCaption, getCubaId, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setCubaId, setEnabled, setIcon, setId, setPrimaryStyleName, setStyleName, setStyleName, setVisible
addAttachListener, addDetachListener, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
protected com.vaadin.ui.VerticalLayout mainLayout
protected com.vaadin.ui.TextArea stackTraceTextArea
protected com.vaadin.ui.Button copyButton
protected com.vaadin.ui.Button showStackTraceButton
protected boolean isStackTraceVisible
protected java.util.Map<java.lang.String,java.lang.Object> additionalExceptionReportBinding
protected Messages messages
protected ExceptionReportService reportService
protected WindowConfig windowConfig
protected ClientConfig clientConfig
protected UserSessionSource userSessionSource
protected TimeSource timeSource
protected Security security
public ExceptionDialog(java.lang.Throwable throwable)
public ExceptionDialog(java.lang.Throwable throwable, @Nullable java.lang.String caption, @Nullable java.lang.String message)
protected java.lang.String getStackTrace(java.lang.Throwable throwable)
protected java.lang.Throwable removeRemoteException(java.lang.Throwable throwable)
protected java.lang.String getText(java.lang.Throwable rootCause)
public void setStackTraceVisible(boolean visible)
public void sendSupportEmail(java.lang.String message, java.lang.String stackTrace)
protected void logoutPrompt()
protected void forceLogout()
public void setAdditionalExceptionReportBinding(java.util.Map<java.lang.String,java.lang.Object> binding)
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalExceptionReportBinding()