Class ErrorEvent
java.lang.Object
com.mparticle.sdk.model.eventprocessing.Event
com.mparticle.sdk.model.eventprocessing.ErrorEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class com.mparticle.sdk.model.eventprocessing.Event
Event.Type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isCrash()
void
setAttributes
(Map<String, String> attributes) void
setBreadcrumbs
(List<String> breadcrumbs) void
setIsCrash
(boolean isCrash) void
setMessage
(String message) void
setStackTrace
(String stackTrace) Methods inherited from class com.mparticle.sdk.model.eventprocessing.Event
getId, getLocation, getRequest, getSessionId, getSourceId, getTimestamp, getType, setLocation, setRequest, setSessionId, setSourceId, setTimestamp
-
Constructor Details
-
ErrorEvent
public ErrorEvent()
-
-
Method Details
-
getMessage
- Returns:
- error message
-
setMessage
- Parameters:
message
- error message
-
isCrash
public boolean isCrash()- Returns:
- true if the error has been captured by the crash reporter
-
setIsCrash
public void setIsCrash(boolean isCrash) - Parameters:
isCrash
- true if the error has been captured by the crash reporter
-
getStackTrace
- Returns:
- stack trace
-
setStackTrace
- Parameters:
stackTrace
- stack trace
-
getBreadcrumbs
- Returns:
- bread crumbs
-
setBreadcrumbs
- Parameters:
breadcrumbs
- bread crumbs
-
getAttributes
- Returns:
- custom attributes
-
setAttributes
- Parameters:
attributes
- custom attributes
-