public abstract class Bug
extends java.lang.Object
BugWithLog, BugWithThrowable| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG |
| Constructor and Description |
|---|
Bug()
Empty constructor to initialize variables.
|
Bug(java.lang.String message,
java.lang.Class culprit)
Constructor with all available variables.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
buildTextReport()
Builds a text report with the gathered information
|
java.lang.StringBuilder |
buildTextReport(java.lang.StringBuilder report)
Builds a text report with the gathered information
|
java.lang.Class |
getCulprit()
The class responsible for the error.
|
java.lang.String |
getMessage()
A text that describes the bug (e.g.
|
Bug |
setCulprit(java.lang.Class culprit)
Sets the class responsible for the error.
|
Bug |
setMessage(java.lang.String message)
Sets the error text that describes the bug (e.g.
|
public Bug()
public Bug(java.lang.String message,
java.lang.Class culprit)
message - A text that describes the bug (e.g. a throwable error message)culprit - The class responsible for the error.public java.lang.StringBuilder buildTextReport()
public java.lang.StringBuilder buildTextReport(java.lang.StringBuilder report)
public java.lang.String getMessage()
public Bug setMessage(java.lang.String message)
public java.lang.Class getCulprit()
public Bug setCulprit(java.lang.Class culprit)