Class 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.LogWithProperties
    Handled Error log for managed platforms (such as Xamarin, Unity, Android Dalvik/ART).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String TYPE
      Log type.
    • Constructor Summary

      Constructors 
      Constructor Description
      HandledErrorLog()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      Exception getException()
      Get the exception value.
      java.util.UUID getId()
      Get the id value.
      java.lang.String getType()  
      int hashCode()  
      void read​(org.json.JSONObject object)  
      void setException​(Exception exception)
      Set the exception value.
      void setId​(java.util.UUID id)
      Set the id value.
      void write​(org.json.JSONStringer writer)  
      • Methods inherited from class com.microsoft.appcenter.ingestion.models.LogWithProperties

        getProperties, setProperties
      • Methods inherited from class com.microsoft.appcenter.ingestion.models.AbstractLog

        addTransmissionTarget, getDevice, getDistributionGroupId, getSid, getTag, getTimestamp, getTransmissionTargetTokens, getUserId, setDevice, setDistributionGroupId, setSid, setTag, setTimestamp, setUserId
      • Methods inherited from class java.lang.Object

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

      • HandledErrorLog

        public HandledErrorLog()
    • 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:
        read in interface com.microsoft.appcenter.ingestion.models.Model
        Overrides:
        read in class com.microsoft.appcenter.ingestion.models.LogWithProperties
        Throws:
        org.json.JSONException
      • write

        public void write​(org.json.JSONStringer writer)
                   throws org.json.JSONException
        Specified by:
        write in interface com.microsoft.appcenter.ingestion.models.Model
        Overrides:
        write in class com.microsoft.appcenter.ingestion.models.LogWithProperties
        Throws:
        org.json.JSONException
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class com.microsoft.appcenter.ingestion.models.LogWithProperties
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.microsoft.appcenter.ingestion.models.LogWithProperties