diff options
Diffstat (limited to 'cps-service/src/main/java/org/onap/cps/spi/exceptions/CpsException.java')
-rw-r--r-- | cps-service/src/main/java/org/onap/cps/spi/exceptions/CpsException.java | 22 |
1 files changed, 2 insertions, 20 deletions
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. |