Package 

Class ExceptionManager

  • All Implemented Interfaces:
    com.appsflyer.internal.components.exmanager.ExceptionManagerInterface

    
    public class ExceptionManager
     implements ExceptionManagerInterface
                        

    this is a place holder class for compile non `exManager` flavor

    • Method Summary

      Modifier and Type Method Description
      void init() Check if the SDK version is updated compared to the previous launch.
      void sendExceptionsToServerIfNeeded() Check if the SDK should report the existing exceptions based on the RC configuration.If so, the existing exceptions of current SDK version will be sent to the server.
      void updateExceptionManagerConfiguration() Update the Exception Manager settings based on new RC configuration.Cancel existing windows, restart, start a new window .
      String storeNewException(@NonNull() Throwable t, @NonNull() String message) Save a new Throwable to persistent storage
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • init

         void init()

        Check if the SDK version is updated compared to the previous launch. If so, cancelsthe option to send exceptions based on the previous RC configuration and deletesall stored exceptions.Make sure to call this method **BEFORE** fetching a new RC configuration.Exceptions of current SDK version (if presents) will not be deleted.

      • sendExceptionsToServerIfNeeded

         void sendExceptionsToServerIfNeeded()

        Check if the SDK should report the existing exceptions based on the RC configuration.If so, the existing exceptions of current SDK version will be sent to the server.

      • updateExceptionManagerConfiguration

         void updateExceptionManagerConfiguration()

        Update the Exception Manager settings based on new RC configuration.Cancel existing windows, restart, start a new window .