Package org.greenrobot.eventbus.util
Class ErrorDialogConfig
- java.lang.Object
-
- org.greenrobot.eventbus.util.ErrorDialogConfig
-
public class ErrorDialogConfig extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ErrorDialogConfig(android.content.res.Resources resources, int defaultTitleId, int defaultMsgId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorDialogConfigaddMapping(java.lang.Class<? extends java.lang.Throwable> clazz, int msgId)voiddisableExceptionLogging()intgetMessageIdForThrowable(java.lang.Throwable throwable)voidsetDefaultDialogIconId(int defaultDialogIconId)voidsetDefaultEventTypeOnDialogClosed(java.lang.Class<?> defaultEventTypeOnDialogClosed)voidsetEventBus(EventBus eventBus)voidsetTagForLoggingExceptions(java.lang.String tagForLoggingExceptions)
-
-
-
Method Detail
-
addMapping
public ErrorDialogConfig addMapping(java.lang.Class<? extends java.lang.Throwable> clazz, int msgId)
-
getMessageIdForThrowable
public int getMessageIdForThrowable(java.lang.Throwable throwable)
-
setDefaultDialogIconId
public void setDefaultDialogIconId(int defaultDialogIconId)
-
setDefaultEventTypeOnDialogClosed
public void setDefaultEventTypeOnDialogClosed(java.lang.Class<?> defaultEventTypeOnDialogClosed)
-
disableExceptionLogging
public void disableExceptionLogging()
-
setTagForLoggingExceptions
public void setTagForLoggingExceptions(java.lang.String tagForLoggingExceptions)
-
setEventBus
public void setEventBus(EventBus eventBus)
-
-