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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisCrash()voidsetAttributes(Map<String, String> attributes) voidsetBreadcrumbs(List<String> breadcrumbs) voidsetIsCrash(boolean isCrash) voidsetMessage(String message) voidsetStackTrace(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
-