com.microsoft.bingads.v13.reporting.ReportingOperationCouldNotBeCompletedException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of microsoft.bingads Show documentation
Show all versions of microsoft.bingads Show documentation
The Bing Ads Java SDK is a library improving developer experience when working with the Bing Ads services by providing high-level access to features such as Bulk API, OAuth Authorization and SOAP API.
/**
*
*/
package com.microsoft.bingads.v13.reporting;
/**
* This exception is thrown if an attempt was made to poll for a completed reporting results file and the reporting service returns a failed status.
*
*/
public class ReportingOperationCouldNotBeCompletedException extends RuntimeException {
/**
*
*/
private static final long serialVersionUID = 1L;
private final ReportRequestStatusType status;
public ReportingOperationCouldNotBeCompletedException(ReportRequestStatusType status) {
this.status = status;
}
public ReportingOperationCouldNotBeCompletedException(ReportRequestStatusType status, String message) {
super(message);
this.status = status;
}
public ReportRequestStatusType getStatus() {
return status;
}
}