Class LogsUploadException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.azure.core.exception.AzureException
com.azure.monitor.ingestion.models.LogsUploadException
All Implemented Interfaces:
Serializable

public class LogsUploadException extends com.azure.core.exception.AzureException
An aggregate exception containing all inner exceptions that were caused from uploading logs.
See Also:
  • Constructor Details

    • LogsUploadException

      public LogsUploadException(List<com.azure.core.exception.HttpResponseException> logsUploadErrors, long failedLogsCount)
      Creates an instance of LogsUploadException.
      Parameters:
      logsUploadErrors - list of all HTTP response exceptions.
      failedLogsCount - the total number of logs that failed to upload.
  • Method Details

    • getLogsUploadErrors

      public List<com.azure.core.exception.HttpResponseException> getLogsUploadErrors()
      Returns the list of all HTTP response exceptions.
      Returns:
      The list of all errors.
    • getFailedLogsCount

      public long getFailedLogsCount()
      Returns the total number for logs that failed to upload.
      Returns:
      the total number of logs that failed to upload.