LogsUploadException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - java.
lang. RuntimeException - com.
azure. core. exception. AzureException - com.
azure. monitor. ingestion. models. LogsUploadException
- com.
- com.
- java.
- java.
- java.
public class LogsUploadException
extends AzureException
An aggregate exception containing all inner exceptions that were caused from uploading logs.
Constructor Summary
| Constructor | Description |
|---|---|
| LogsUploadException(List<HttpResponseException> logsUploadErrors, long failedLogsCount) |
Creates an instance of LogsUploadException. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| long |
getFailedLogsCount()
Returns the total number for logs that failed to upload. |
|
List<Http |
getLogsUploadErrors()
Returns the list of all HTTP response exceptions. |
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
Constructor Details
LogsUploadException
public LogsUploadException(List<HttpResponseException> logsUploadErrors, long failedLogsCount)
Creates an instance of LogsUploadException.
Parameters:
Method Details
getFailedLogsCount
public long getFailedLogsCount()
Returns the total number for logs that failed to upload.
Returns:
getLogsUploadErrors
public List<HttpResponseException> getLogsUploadErrors()
Returns the list of all HTTP response exceptions.
Returns: