Class HandledErrorLog
- java.lang.Object
-
- com.microsoft.appcenter.ingestion.models.AbstractLog
-
- com.microsoft.appcenter.ingestion.models.LogWithProperties
-
- com.microsoft.appcenter.crashes.ingestion.models.HandledErrorLog
-
- All Implemented Interfaces:
com.microsoft.appcenter.ingestion.models.Log,com.microsoft.appcenter.ingestion.models.Model
public class HandledErrorLog extends com.microsoft.appcenter.ingestion.models.LogWithPropertiesHandled Error log for managed platforms (such as Xamarin, Unity, Android Dalvik/ART).
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPELog type.
-
Constructor Summary
Constructors Constructor Description HandledErrorLog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)ExceptiongetException()Get the exception value.java.util.UUIDgetId()Get the id value.java.lang.StringgetType()inthashCode()voidread(org.json.JSONObject object)voidsetException(Exception exception)Set the exception value.voidsetId(java.util.UUID id)Set the id value.voidwrite(org.json.JSONStringer writer)-
Methods inherited from class com.microsoft.appcenter.ingestion.models.LogWithProperties
getProperties, setProperties
-
-
-
-
Field Detail
-
TYPE
public static final java.lang.String TYPE
Log type.- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public java.lang.String getType()
-
getId
public java.util.UUID getId()
Get the id value.- Returns:
- the id value
-
setId
public void setId(java.util.UUID id)
Set the id value.- Parameters:
id- the id value to set
-
getException
public Exception getException()
Get the exception value.- Returns:
- the exception value
-
setException
public void setException(Exception exception)
Set the exception value.- Parameters:
exception- the exception value to set
-
read
public void read(org.json.JSONObject object) throws org.json.JSONException- Specified by:
readin interfacecom.microsoft.appcenter.ingestion.models.Model- Overrides:
readin classcom.microsoft.appcenter.ingestion.models.LogWithProperties- Throws:
org.json.JSONException
-
write
public void write(org.json.JSONStringer writer) throws org.json.JSONException- Specified by:
writein interfacecom.microsoft.appcenter.ingestion.models.Model- Overrides:
writein classcom.microsoft.appcenter.ingestion.models.LogWithProperties- Throws:
org.json.JSONException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classcom.microsoft.appcenter.ingestion.models.LogWithProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.microsoft.appcenter.ingestion.models.LogWithProperties
-
-