Preload policy types when api starts up
[policy/api.git] / main / src / main / java / org / onap / policy / api / main / exception / PolicyApiException.java
index 1fccb06..580ba33 100644 (file)
@@ -35,6 +35,15 @@ public class PolicyApiException extends Exception {
         super(message);
     }
 
+    /**
+     * Instantiates a new policy api exception with a caused by exception.
+     *
+     * @param exp the exception that caused this exception to be thrown
+     */
+    public PolicyApiException(final Exception exp) {
+        super(exp);
+    }
+
     /**
      * Instantiates a new policy api exception with a message and a caused by exception.
      *