Class ExceptionDialog

java.lang.Object
io.jmix.flowui.exception.ExceptionDialog
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

public class ExceptionDialog extends Object implements org.springframework.beans.factory.InitializingBean
  • Field Details

  • Constructor Details

    • ExceptionDialog

      public ExceptionDialog(Throwable throwable)
  • Method Details

    • setMessages

      @Autowired public void setMessages(Messages messages)
    • setScreenRegistry

      @Autowired public void setScreenRegistry(ScreenRegistry screenRegistry)
    • setUiComponents

      @Autowired public void setUiComponents(UiComponents uiComponents)
    • setNotifications

      @Autowired public void setNotifications(Notifications notifications)
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • open

      public void open()
      Opens the exception dialog.
    • initDialog

      protected void initDialog()
    • createDialog

      protected com.vaadin.flow.component.dialog.Dialog createDialog()
    • initLayout

      protected void initLayout()
    • createDialogOverlay

      protected com.vaadin.flow.component.orderedlayout.VerticalLayout createDialogOverlay()
    • createHeader

      protected com.vaadin.flow.component.html.Header createHeader()
    • createHeaderCloseButton

      protected com.vaadin.flow.component.button.Button createHeaderCloseButton()
    • onHeaderCloseButtonClick

      protected void onHeaderCloseButtonClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event)
    • createContent

      protected com.vaadin.flow.component.Component createContent()
    • createMessageTextArea

      protected com.vaadin.flow.dom.Element createMessageTextArea(String message)
    • createButtonsPanel

      protected com.vaadin.flow.component.orderedlayout.HorizontalLayout createButtonsPanel()
    • createCloseButton

      protected JmixButton createCloseButton()
    • onCloseButtonClick

      protected void onCloseButtonClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event)
    • createDetailsButton

      protected JmixButton createDetailsButton()
    • onDetailsButtonClick

      protected void onDetailsButtonClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event)
    • setStackTraceVisible

      protected void setStackTraceVisible(boolean visible)
    • createCopyButton

      protected JmixButton createCopyButton()
    • onCopyButtonClick

      protected void onCopyButtonClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event)
    • createStackTraceTextArea

      protected com.vaadin.flow.dom.Element createStackTraceTextArea(String stackTrace)
    • getStackTrace

      protected String getStackTrace(Throwable throwable)
    • getMessage

      protected String getMessage(Throwable rootCause)
    • setTextAreaSelectionRange

      protected void setTextAreaSelectionRange(com.vaadin.flow.dom.Element textArea, int start, int end)
    • focusTextArea

      protected void focusTextArea(com.vaadin.flow.dom.Element textArea)