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

com.predic8.membrane.core.interceptor.oauth2client.rf.OAuth2Exception Maven / Gradle / Ivy

There is a newer version: 5.7.3
Show newest version
package com.predic8.membrane.core.interceptor.oauth2client.rf;

import com.predic8.membrane.core.http.Response;

public class OAuth2Exception extends Exception {
    private final String error;
    private final String errorDescription;
    private final Response response;

    public OAuth2Exception(String error, String errorDescription, Response response) {
        this.error = error;
        this.errorDescription = errorDescription;
        this.response = response;
    }

    public String getError() {
        return error;
    }

    public String getErrorDescription() {
        return errorDescription;
    }

    public Response getResponse() {
        return response;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy