-
- 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
-
-
Constructor Summary
Constructors Constructor Description ExceptionManager(ServiceLocator serviceLocator)
-
Method Summary
Modifier and Type Method Description voidinit()Check if the SDK version is updated compared to the previous launch. voidsendExceptionsToServerIfNeeded()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. voidupdateExceptionManagerConfiguration()Update the Exception Manager settings based on new RC configuration.Cancel existing windows, restart, start a new window . StringstoreNewException(@NonNull() Throwable t, @NonNull() String message)Save a new Throwable to persistent storage -
-
Constructor Detail
-
ExceptionManager
ExceptionManager(ServiceLocator serviceLocator)
-
-
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 .
-
-
-
-