summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2016-11-03 02:10:02 +0100
committerEndi S. Dewata <edewata@redhat.com>2016-11-03 02:57:11 +0100
commit4ce9c6795de030d81779e46fae40af87e05b8af0 (patch)
treec9fe7059cf151c5d25669df1d36f457230caffb1
parent3e8a0ee2e889190e71df97a2efa77626cd4df26a (diff)
downloadpki-4ce9c6795de030d81779e46fae40af87e05b8af0.tar.gz
pki-4ce9c6795de030d81779e46fae40af87e05b8af0.tar.xz
pki-4ce9c6795de030d81779e46fae40af87e05b8af0.zip
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
-rw-r--r--base/common/src/com/netscape/certsrv/property/EPropertyException.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/certsrv/property/EPropertyException.java b/base/common/src/com/netscape/certsrv/property/EPropertyException.java
index ad0617b5f..c3c5b9404 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);
+ }
}