Class ErrorReport


  • public class ErrorReport
    extends java.lang.Object
    Error report class.
    • Constructor Summary

      Constructors 
      Constructor Description
      ErrorReport()  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.util.Date getAppErrorTime()
      Gets the application error datetime.
      java.util.Date getAppStartTime()
      Gets the application start datetime.
      com.microsoft.appcenter.ingestion.models.Device getDevice()
      Gets the device information.
      java.lang.String getId()
      Gets the UUID for crash report.
      java.lang.String getStackTrace()
      Gets the stack trace of the crash.
      java.lang.String getThreadName()
      Gets the thread name.
      java.lang.Throwable getThrowable()
      Deprecated.
      This method has been deprecated, use getStackTrace() instead.
      void setAppErrorTime​(java.util.Date appErrorTime)
      Sets the application error datetime.
      void setAppStartTime​(java.util.Date appStartTime)
      Sets the application start datetime.
      void setDevice​(com.microsoft.appcenter.ingestion.models.Device device)
      Sets the device information.
      void setId​(java.lang.String id)
      Sets the UUID for crash report.
      void setStackTrace​(java.lang.String stackTrace)
      Sets the stack trace of the crash.
      void setThreadName​(java.lang.String threadName)
      Sets the thread name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ErrorReport

        public ErrorReport()
    • Method Detail

      • getId

        public java.lang.String getId()
        Gets the UUID for crash report.
        Returns:
        The UUID for crash report.
      • setId

        public void setId​(java.lang.String id)
        Sets the UUID for crash report.
        Parameters:
        id - A UUID for crash report to set.
      • getThreadName

        public java.lang.String getThreadName()
        Gets the thread name.
        Returns:
        The thread name.
      • setThreadName

        public void setThreadName​(java.lang.String threadName)
        Sets the thread name.
        Parameters:
        threadName - A thread name to set.
      • getStackTrace

        public java.lang.String getStackTrace()
        Gets the stack trace of the crash.
        Returns:
        The stack trace.
      • setStackTrace

        public void setStackTrace​(java.lang.String stackTrace)
        Sets the stack trace of the crash.
        Parameters:
        stackTrace - The stack trace.
      • getThrowable

        @Deprecated
        public java.lang.Throwable getThrowable()
        Deprecated.
        This method has been deprecated, use getStackTrace() instead.
        Gets the throwable.
        Returns:
        The throwable.
      • getAppStartTime

        public java.util.Date getAppStartTime()
        Gets the application start datetime.
        Returns:
        The application start datetime.
      • setAppStartTime

        public void setAppStartTime​(java.util.Date appStartTime)
        Sets the application start datetime.
        Parameters:
        appStartTime - An application start datetime to set.
      • getAppErrorTime

        public java.util.Date getAppErrorTime()
        Gets the application error datetime.
        Returns:
        The application error datetime.
      • setAppErrorTime

        public void setAppErrorTime​(java.util.Date appErrorTime)
        Sets the application error datetime.
        Parameters:
        appErrorTime - An application error datetime to set.
      • getDevice

        public com.microsoft.appcenter.ingestion.models.Device getDevice()
        Gets the device information.
        Returns:
        The device information.
      • setDevice

        public void setDevice​(com.microsoft.appcenter.ingestion.models.Device device)
        Sets the device information.
        Parameters:
        device - A device information to set.