aboutsummaryrefslogtreecommitdiffstats
path: root/services/src/main/java/org/onap/ccsdk/apps/services/RestProtocolException.java
blob: 3de356bcd2b3ef242137bc81e998a8ed933316e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package org.onap.ccsdk.apps.services;

public class RestProtocolException extends RestException {

    public RestProtocolException(String errorTag, String errorMessage, int status) {
        this.restError = new RestProtocolError(errorTag, errorMessage);
        this.status = status;
    }

    public RestProtocolException(String errorTag, String errorMessage, Throwable t, int status) {
        this.restError = new RestProtocolError(errorTag, errorMessage, t);
        this.status = status;
    }
}