To help troubleshooting, the EPropertyException has been modified
to provide constructors to chain the original exception.

https://fedorahosted.org/pki/ticket/2463

Pushed to master under trivial/one-liner rule.

--
Endi S. Dewata
>From 4ce9c6795de030d81779e46fae40af87e05b8af0 Mon Sep 17 00:00:00 2001
From: "Endi S. Dewata" <[email protected]>
Date: Thu, 3 Nov 2016 02:10:02 +0100
Subject: [PATCH] Added constructors to chain EPropertyException.

To help troubleshooting, the EPropertyException has been modified
to provide constructors to chain the original exception.

https://fedorahosted.org/pki/ticket/2463
---
 .../src/com/netscape/certsrv/property/EPropertyException.java     | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/base/common/src/com/netscape/certsrv/property/EPropertyException.java b/base/common/src/com/netscape/certsrv/property/EPropertyException.java
index ad0617b5f9fd3c7c6c9038c584c3fecd339753c5..c3c5b9404c0b0c52dd7b5cee3e0333c3c63279bb 100644
--- a/base/common/src/com/netscape/certsrv/property/EPropertyException.java
+++ b/base/common/src/com/netscape/certsrv/property/EPropertyException.java
@@ -39,4 +39,12 @@ public class EPropertyException extends EBaseException {
     public EPropertyException(String msg) {
         super(msg);
     }
+
+    public EPropertyException(String msg, Throwable cause) {
+        super(msg, cause);
+    }
+
+    public EPropertyException(Throwable cause) {
+        super(cause.getMessage(), cause);
+    }
 }
-- 
2.5.5

_______________________________________________
Pki-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pki-devel

Reply via email to