public class DefaultCrashReporter extends Object implements CrashReport
Modifier and Type | Method and Description |
---|---|
void |
exception(Throwable t)
Callback for an exception that was not handled by the developer
|
static String |
getCheckboxText()
The text for the user prompt dialog
|
static String |
getDontSendButtonText()
The text for the user prompt dialog
|
static String |
getErrorText()
The text for the user prompt dialog
|
static String |
getSendButtonText()
The text for the user prompt dialog
|
static void |
init(boolean promptUser,
int frequency)
Installs a crash reporter within the system
|
static void |
setCheckboxText(String aCheckboxText)
The text for the user prompt dialog
|
static void |
setDontSendButtonText(String aDontSendButtonText)
The text for the user prompt dialog
|
static void |
setErrorText(String aErrorText)
The text for the user prompt dialog
|
static void |
setSendButtonText(String aSendButtonText)
The text for the user prompt dialog
|
public static String getErrorText()
public static void setErrorText(String aErrorText)
aErrorText
- the errorText to setpublic static String getSendButtonText()
public static void setSendButtonText(String aSendButtonText)
aSendButtonText
- the sendButtonText to setpublic static String getDontSendButtonText()
public static void setDontSendButtonText(String aDontSendButtonText)
aDontSendButtonText
- the dontSendButtonText to setpublic static String getCheckboxText()
public static void setCheckboxText(String aCheckboxText)
aCheckboxText
- the checkboxText to setpublic static void init(boolean promptUser, int frequency)
promptUser
- indicates whether the user should be prompted on crash reportingfrequency
- the frequency with which we send the log to the server in debug mode in minutes
frequency must be at least 1. Any lower level automatically disables this featurepublic void exception(Throwable t)
exception
in interface CrashReport
t
- the exception