All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.spotinst.sdkjava.exception.SpotinstHttpErrorsException Maven / Gradle / Ivy

There is a newer version: 1.0.121
Show newest version
package com.spotinst.sdkjava.exception;

/**
 * Created by talzur on 11/01/2017.
 */

import java.util.List;

/**
 * Base class for all exceptions thrown by the spotinst SDK.
 * Exception may be a client side com.spotinst.sdkjava.exception or an unmarshalled service com.spotinst.sdkjava.exception.
 */
public class SpotinstHttpErrorsException extends SpotinstHttpException {

    private List httpErrors;

    public SpotinstHttpErrorsException(String message, List httpErrors) {
        super(message);
        this.httpErrors = httpErrors;
    }

    public SpotinstHttpErrorsException(String message, Throwable cause, List httpErrors) {
        super(message, cause);
        this.httpErrors = httpErrors;
    }

    public List getHttpErrors() {
        return httpErrors;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy