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

public class RestRpcException extends RestException {

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

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