X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=cps-service%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fcps%2Fspi%2Fexceptions%2FCpsException.java;h=96a06780624653db42e5cdf9f1f796aa117c9572;hb=008c0adc3712ba0aee6410e8cd7efc61f4cbeeac;hp=406ade688b002e789e81e819d0a0d6c4b408fdfc;hpb=c040bcb4ae61177b1aa691f059d19c96c6cfff7b;p=cps.git diff --git a/cps-service/src/main/java/org/onap/cps/spi/exceptions/CpsException.java b/cps-service/src/main/java/org/onap/cps/spi/exceptions/CpsException.java index 406ade688..96a067806 100644 --- a/cps-service/src/main/java/org/onap/cps/spi/exceptions/CpsException.java +++ b/cps-service/src/main/java/org/onap/cps/spi/exceptions/CpsException.java @@ -28,26 +28,8 @@ public class CpsException extends RuntimeException { private static final long serialVersionUID = 1592619410918497467L; - @Getter String details; - - /** - * Constructor. - * - * @param cause the cause of the exception - */ - public CpsException(final Throwable cause) { - super(cause.getMessage(), cause); - } - - /** - * Constructor. - * - * @param message the error message - * @param cause the cause of the exception - */ - public CpsException(final String message, final Throwable cause) { - super(message, cause); - } + @Getter + final String details; /** * Constructor.