Class ErrorEvent

java.lang.Object
com.mparticle.sdk.model.eventprocessing.Event
com.mparticle.sdk.model.eventprocessing.ErrorEvent

public final class ErrorEvent extends Event
  • Constructor Details

    • ErrorEvent

      public ErrorEvent()
  • Method Details

    • getMessage

      public String getMessage()
      Returns:
      error message
    • setMessage

      public void setMessage(String message)
      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

      public String getStackTrace()
      Returns:
      stack trace
    • setStackTrace

      public void setStackTrace(String stackTrace)
      Parameters:
      stackTrace - stack trace
    • getBreadcrumbs

      public List<String> getBreadcrumbs()
      Returns:
      bread crumbs
    • setBreadcrumbs

      public void setBreadcrumbs(List<String> breadcrumbs)
      Parameters:
      breadcrumbs - bread crumbs
    • getAttributes

      public Map<String,String> getAttributes()
      Returns:
      custom attributes
    • setAttributes

      public void setAttributes(Map<String,String> attributes)
      Parameters:
      attributes - custom attributes