1 package org.onap.sdc.dcae.catalog.engine;
3 import org.onap.sdc.dcae.catalog.engine.CatalogRequest;
4 import org.onap.sdc.dcae.catalog.engine.CatalogResponse;
8 public class CatalogError extends CatalogResponse {
10 public CatalogError(CatalogRequest theRequest, String theMessage) {
12 error().put("message", theMessage);
15 public CatalogError(CatalogRequest theRequest, String theMessage, Throwable theError) {
17 error().put("message", theMessage)
18 .put("exception", theError.toString());