public abstract class AzureExceptionHandler extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
AzureExceptionHandler.AzureExceptionAction |
| Modifier and Type | Field and Description |
|---|---|
private static AzureExceptionHandler |
handler |
| Constructor and Description |
|---|
AzureExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
static AzureExceptionHandler |
getInstance() |
void |
handleException(Throwable throwable,
AzureExceptionHandler.AzureExceptionAction... action) |
void |
handleException(Throwable throwable,
boolean isBackGround,
AzureExceptionHandler.AzureExceptionAction... action) |
static void |
notify(Throwable e,
AzureExceptionHandler.AzureExceptionAction... actions) |
static void |
notify(Throwable e,
boolean background,
AzureExceptionHandler.AzureExceptionAction... actions) |
protected abstract void |
onHandleException(Throwable throwable,
AzureExceptionHandler.AzureExceptionAction[] action) |
protected abstract void |
onHandleException(Throwable throwable,
boolean isBackGround,
AzureExceptionHandler.AzureExceptionAction[] action) |
static void |
onRxException(Throwable e) |
static void |
onUncaughtException(Throwable e) |
static void |
register(AzureExceptionHandler handler) |
private static AzureExceptionHandler handler
public static void register(AzureExceptionHandler handler)
public static AzureExceptionHandler getInstance()
public static void onUncaughtException(Throwable e)
public static void notify(Throwable e, @Nullable AzureExceptionHandler.AzureExceptionAction... actions)
public static void notify(Throwable e, boolean background, @Nullable AzureExceptionHandler.AzureExceptionAction... actions)
public static void onRxException(Throwable e)
public void handleException(Throwable throwable, @Nullable AzureExceptionHandler.AzureExceptionAction... action)
public void handleException(Throwable throwable, boolean isBackGround, @Nullable AzureExceptionHandler.AzureExceptionAction... action)
protected abstract void onHandleException(Throwable throwable, @Nullable AzureExceptionHandler.AzureExceptionAction[] action)
protected abstract void onHandleException(Throwable throwable, boolean isBackGround, @Nullable AzureExceptionHandler.AzureExceptionAction[] action)
Copyright © 2021. All rights reserved.