Class ErrorReport
- java.lang.Object
-
- com.microsoft.appcenter.crashes.model.ErrorReport
-
public class ErrorReport extends java.lang.ObjectError 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.DategetAppErrorTime()Gets the application error datetime.java.util.DategetAppStartTime()Gets the application start datetime.com.microsoft.appcenter.ingestion.models.DevicegetDevice()Gets the device information.java.lang.StringgetId()Gets the UUID for crash report.java.lang.StringgetStackTrace()Gets the stack trace of the crash.java.lang.StringgetThreadName()Gets the thread name.java.lang.ThrowablegetThrowable()Deprecated.This method has been deprecated, usegetStackTrace()instead.voidsetAppErrorTime(java.util.Date appErrorTime)Sets the application error datetime.voidsetAppStartTime(java.util.Date appStartTime)Sets the application start datetime.voidsetDevice(com.microsoft.appcenter.ingestion.models.Device device)Sets the device information.voidsetId(java.lang.String id)Sets the UUID for crash report.voidsetStackTrace(java.lang.String stackTrace)Sets the stack trace of the crash.voidsetThreadName(java.lang.String threadName)Sets the thread name.
-
-
-
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, usegetStackTrace()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.
-
-