Class ClajReport

java.lang.Object
com.xpdustry.claj.client.ClajReport

public class ClajReport extends Object
  • Field Details

    • FORM_URL

      public static final String FORM_URL
      See Also:
    • lastErrors

      protected static final arc.struct.Seq<Throwable> lastErrors
    • dummy

      protected static final arc.scene.ui.Label dummy
      Dummy Label to help with bundle parsing.
  • Constructor Details

    • ClajReport

      public ClajReport()
  • Method Details

    • openSuggestionForm

      public static void openSuggestionForm()
    • openFeedbackForm

      public static void openFeedbackForm()
    • openBugForm

      public static void openBugForm()
    • openBugForm

      public static void openBugForm(String error)
    • addError

      public static void addError(Throwable err)
    • clearErrors

      public static void clearErrors()
    • formatLastErrors

      public static String formatLastErrors()
    • getParams

      protected static String getParams(String type)
    • getParams

      protected static String getParams(String type, String name, String message)
    • showErrorMessage

      public static void showErrorMessage(String text)
      From UI but modified to handle CLaJ error reporting.
    • reportException

      public static void reportException(Throwable exc)
    • reportException

      public static void reportException(String text, Throwable exc)
    • confirmReport

      public static void confirmReport(Runnable confirmed)
    • filterException

      public static boolean filterException(Throwable e)
      Filter a little bit internet connectivity related issues, to avoid useless submissions.

      From Net.showError(Throwable).

    • openSuggestionPopup

      public static void openSuggestionPopup()
    • openSuggestionPopup

      public static void openSuggestionPopup(boolean dismissible)
    • shouldSuggest

      public static boolean shouldSuggest()