aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/oauth-provider/oauth-core/src/main/java/org/onap/ccsdk/features/sdnr/wt/oauthprovider/data/UnableToConfigureOAuthService.java
blob: b791a4040cef55b94cc015f759f0b4c02bb605ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package org.onap.ccsdk.features.sdnr.wt.oauthprovider.data;

public class UnableToConfigureOAuthService extends Exception {

    public UnableToConfigureOAuthService(String configUrl){
        super(String.format("Unable to configure OAuth service from url %s", configUrl));
    }
    public UnableToConfigureOAuthService(String configUrl, int responseCode){
        super(String.format("Unable to configure OAuth service from url %s. bad response with code %d", configUrl, responseCode));
    }

}