From 1d51641ccef7ddcb2055b07c820f7789e350b978 Mon Sep 17 00:00:00 2001 From: Marcus Holl Date: Mon, 9 Jul 2018 13:43:00 +0200 Subject: [PATCH 1/2] fix whitespaces --- src/com/sap/piper/cm/ChangeManagementException.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/sap/piper/cm/ChangeManagementException.groovy b/src/com/sap/piper/cm/ChangeManagementException.groovy index 279902108..29a8ab258 100644 --- a/src/com/sap/piper/cm/ChangeManagementException.groovy +++ b/src/com/sap/piper/cm/ChangeManagementException.groovy @@ -2,9 +2,9 @@ package com.sap.piper.cm; public class ChangeManagementException extends RuntimeException { - private static final long serialVersionUID = -139169285551665766L + private static final long serialVersionUID = -139169285551665766L - ChangeManagementException(String message) { - super(message) - } + ChangeManagementException(String message) { + super(message) + } } From 8e63e451331595212a7c2a1b356f59142fe98532 Mon Sep 17 00:00:00 2001 From: Marcus Holl Date: Mon, 9 Jul 2018 13:43:52 +0200 Subject: [PATCH 2/2] Support exception chaining in ChangeMangementException --- src/com/sap/piper/cm/ChangeManagementException.groovy | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/com/sap/piper/cm/ChangeManagementException.groovy b/src/com/sap/piper/cm/ChangeManagementException.groovy index 29a8ab258..455f8953a 100644 --- a/src/com/sap/piper/cm/ChangeManagementException.groovy +++ b/src/com/sap/piper/cm/ChangeManagementException.groovy @@ -5,6 +5,10 @@ public class ChangeManagementException extends RuntimeException { private static final long serialVersionUID = -139169285551665766L ChangeManagementException(String message) { - super(message) + super(message, null) + } + + ChangeManagementException(String message, Throwable cause) { + super(message, cause) } }