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

net.jacobpeterson.alpaca.rest.exception.AlpacaAPIRequestException Maven / Gradle / Ivy

package net.jacobpeterson.alpaca.rest.exception;

import com.mashape.unirest.http.HttpResponse;
import net.jacobpeterson.abstracts.rest.exception.AbstractAPIRequestException;

import java.io.InputStream;

/**
 * The Class AlpacaAPIException.
 */
public class AlpacaAPIRequestException extends AbstractAPIRequestException {

    /**
     * Instantiates a new Alpaca api exception.
     *
     * @param httpResponse the http response
     */
    public AlpacaAPIRequestException(HttpResponse httpResponse) {
        super("Alpaca", httpResponse);
    }

    @Override
    protected void parseAPIExceptionMessage() {
        super.parseStandardAPIExceptionResponse();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy