Class ExceptionMonitor

    • Constructor Detail

      • ExceptionMonitor

        public ExceptionMonitor()
    • Method Detail

      • getInstance

        public static ExceptionMonitor getInstance()
        Returns:
        the current exception monitor.
      • setInstance

        public static void setInstance​(ExceptionMonitor monitor)
        Sets the uncaught exception monitor. If null is specified, the default monitor will be set.
        Parameters:
        monitor - A new instance of DefaultExceptionMonitor is set if null is specified.
      • exceptionCaught

        public abstract void exceptionCaught​(Throwable cause)
        Invoked when there are any uncaught exceptions.
        Parameters:
        cause - The caught exception