public class ErrorDialogConfig
extends java.lang.Object
Constructor and Description |
---|
ErrorDialogConfig(android.content.res.Resources resources,
int defaultTitleId,
int defaultMsgId) |
Modifier and Type | Method and Description |
---|---|
ErrorDialogConfig |
addMapping(java.lang.Class<? extends java.lang.Throwable> clazz,
int msgId) |
void |
disableExceptionLogging() |
int |
getMessageIdForThrowable(java.lang.Throwable throwable) |
void |
setDefaultDialogIconId(int defaultDialogIconId) |
void |
setDefaultEventTypeOnDialogClosed(java.lang.Class<?> defaultEventTypeOnDialogClosed) |
void |
setEventBus(EventBus eventBus) |
void |
setTagForLoggingExceptions(java.lang.String tagForLoggingExceptions) |
public ErrorDialogConfig(android.content.res.Resources resources, int defaultTitleId, int defaultMsgId)
public ErrorDialogConfig addMapping(java.lang.Class<? extends java.lang.Throwable> clazz, int msgId)
public int getMessageIdForThrowable(java.lang.Throwable throwable)
public void setDefaultDialogIconId(int defaultDialogIconId)
public void setDefaultEventTypeOnDialogClosed(java.lang.Class<?> defaultEventTypeOnDialogClosed)
public void disableExceptionLogging()
public void setTagForLoggingExceptions(java.lang.String tagForLoggingExceptions)
public void setEventBus(EventBus eventBus)
Available under the Apache License, Version 2.0 - Copyright © 2012-2014 greenrobot.de. All Rights Reserved.