Interface ErrorView

    • Method Detail

      • addError

        void addError​(@NotNull
                      @NotNull ErrorViewCategory categoryName,
                      @NotNull
                      @NotNull java.lang.String message)
        Adds an error message.
        Parameters:
        categoryName - the error category
        message - the error message
      • addError

        void addError​(@NotNull
                      @NotNull ErrorViewCategory categoryName,
                      int lineNo,
                      @NotNull
                      @NotNull java.lang.String message)
        Adds an error message.
        Parameters:
        categoryName - the error category
        lineNo - the line number of the error message
        message - the error message
      • addWarning

        void addWarning​(@NotNull
                        @NotNull ErrorViewCategory categoryName,
                        @NotNull
                        @NotNull java.lang.String message)
        Adds a warning message.
        Parameters:
        categoryName - the warning category
        message - the warning message
      • addWarning

        void addWarning​(@NotNull
                        @NotNull ErrorViewCategory categoryName,
                        int lineNo,
                        @NotNull
                        @NotNull java.lang.String message)
        Adds a warning message.
        Parameters:
        categoryName - the warning category
        lineNo - the line number of the error message
        message - the warning message
      • hasErrors

        boolean hasErrors()
        Whether at least one error message has been added.
        Returns:
        whether error exist
      • waitDialog

        void waitDialog()
                 throws java.lang.InterruptedException
        Waits until the dialog has been dismissed.
        Throws:
        java.lang.InterruptedException - if the current thread has been interrupted while waiting for the dialog to close