com.pushtechnology.diffusion.client.features.ErrorReportsException Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2023 DiffusionData Ltd., All Rights Reserved.
*
* Use is subject to license terms.
*
* NOTICE: All information contained herein is, and remains the
* property of Push Technology. The intellectual and technical
* concepts contained herein are proprietary to Push Technology and
* may be covered by U.S. and Foreign Patents, patents in process, and
* are protected by trade secret or copyright law.
*******************************************************************************/
package com.pushtechnology.diffusion.client.features;
import java.util.List;
import com.pushtechnology.diffusion.client.session.SessionException;
import com.pushtechnology.diffusion.client.types.ErrorReport;
/**
* Thrown to report one or more {@link ErrorReport}s}.
*
* @author DiffusionData Limited
* @since 6.0
*/
public class ErrorReportsException extends SessionException {
private static final long serialVersionUID = -2202780395763915132L;
private final List reports;
/**
* Constructor.
*/
public ErrorReportsException(String message, List reports) {
super(message + ": " + reports);
this.reports = reports;
}
/**
* @return the reports
*/
public final List getReports() {
return reports;
}
}