Package snap.viewx

Class DevPaneExceptions

All Implemented Interfaces:
PropChange.DoChange

public class DevPaneExceptions extends ViewOwner
A DevPane to show the console.
  • Constructor Details

    • DevPaneExceptions

      public DevPaneExceptions()
      Constructor.
  • Method Details

    • getSelIndex

      public int getSelIndex()
      Returns the selected index.
    • setSelIndex

      public void setSelIndex(int aValue)
      Sets the selected index.
    • initUI

      protected void initUI()
      Initialize UI.
      Overrides:
      initUI in class ViewOwner
    • resetUI

      protected void resetUI()
      Reset UI.
      Overrides:
      resetUI in class ViewOwner
    • respondUI

      protected void respondUI(ViewEvent anEvent)
      Respond UI.
      Overrides:
      respondUI in class ViewOwner
    • setShowing

      protected void setShowing(boolean aValue)
      Override to show last exception.
      Overrides:
      setShowing in class ViewOwner
    • showException

      public static void showException(Throwable anExc)
      Shows the given exception.
    • setDefaultUncaughtExceptionHandler

      public static void setDefaultUncaughtExceptionHandler()
      Sets this class to start watching for uncaught exceptions.
    • getUserName

      public static String getUserName()
      Returns user name.
    • setUserName

      public static void setUserName(String aValue)
      Sets user name.
    • getUserEmail

      public static String getUserEmail()
      Returns user email.
    • setUserEmail

      public static void setUserEmail(String aValue)
      Sets user email.
    • getAppName

      public static String getAppName()
      Returns the App name.
    • setAppName

      public static void setAppName(String aValue)
      Sets the App name.
    • getAppInfo

      public static String getAppInfo()
      Returns the AppInfo.
    • setAppInfo

      public static void setAppInfo(String aValue)
      Sets the AppInfo.
    • isIgnoreSuccessiveExceptions

      public static boolean isIgnoreSuccessiveExceptions()
      Returns whether to ignore previous exceptions.
    • setIgnoreSuccessiveExceptions

      public static void setIgnoreSuccessiveExceptions(boolean aValue)
      Sets whether to ignore previous exceptions.