-
public interface ExceptionManagerInterfaceInterface of the Exception Manager API that the SDK should work with
-
-
Method Summary
Modifier and Type Method Description abstract voidinit()Check if the SDK version is updated compared to the previous launch. abstract 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. abstract voidupdateExceptionManagerConfiguration()Update the Exception Manager settings based on new RC configuration.Cancel existing windows, restart, start a new window. abstract voidstoreNewException(@NonNull() Throwable t, @NonNull() String message)Save a new Throwable to persistent storage -
-
Method Detail
-
init
abstract 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
abstract 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
abstract void updateExceptionManagerConfiguration()
Update the Exception Manager settings based on new RC configuration.Cancel existing windows, restart, start a new window.This operation will be execute on a background thread
-
-
-
-