Class ExceptionDialog

  • All Implemented Interfaces:
    EventTarget

    public class ExceptionDialog
    extends Dialog

    A Dialog to display exceptions. This Dialog is a fullscreen Dialog composed of an introduction text, the exception message and the stacktrace.

    Screenshot of ExceptionDialog
    Since:
    2.0.0
    See Also:
    Dialog
    • Constructor Detail

      • ExceptionDialog

        public ExceptionDialog()
        Creates an empty ExceptionDialog with a default intro text, graphic and title.
    • Method Detail

      • setException

        public final void setException​(Exception ex)
        Sets the value of the property exception.
        Property description:
        The exception displayed in this Dialog.
      • getException

        public final Exception getException()
        Gets the value of the property exception.
        Property description:
        The exception displayed in this Dialog.
      • introTextProperty

        public final StringProperty introTextProperty()
        The intro text to display in this Dialog.
        Returns:
        a StringProperty with the text to display
      • setIntroText

        public final void setIntroText​(String text)
        Sets the value of the property introText.
        Property description:
        * Instance fields * *
      • getIntroText

        public final String getIntroText()
        Gets the value of the property introText.
        Property description:
        * Instance fields * *