Add RFC 8040 compliant error handler
[ccsdk/apps.git] / services / src / main / java / org / onap / ccsdk / apps / services / RestException.java
1 package org.onap.ccsdk.apps.services;
2
3 abstract public class RestException extends Exception {
4     protected RestError restError;
5     protected int status;
6
7     public int getStatus() {
8         return status;
9     }
10
11     public RestError getRestError() {
12         return restError;
13     }
14 }