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)
    • setViewRegistry

      @Autowired public void setViewRegistry(ViewRegistry viewRegistry)
    • 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.
    • createDialog

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

      protected void initDialog()
    • initLayout

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

      protected void initHeader(com.vaadin.flow.component.dialog.Dialog dialog)
    • 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)