diff options
author | Endi S. Dewata <edewata@redhat.com> | 2016-03-19 03:06:25 +0100 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2016-03-24 16:42:52 +0100 |
commit | c22d9a99240d2f24eb7b0ee11c3153fa475d47a1 (patch) | |
tree | a33374e771e3de1cf5d18f06fa129a04591c6cb1 /base/common/src/com/netscape | |
parent | 6afd12a683d63de48407bddf858b5e5c7a261e8e (diff) | |
download | pki-c22d9a99240d2f24eb7b0ee11c3153fa475d47a1.tar.gz pki-c22d9a99240d2f24eb7b0ee11c3153fa475d47a1.tar.xz pki-c22d9a99240d2f24eb7b0ee11c3153fa475d47a1.zip |
Fixed exception handling in EnrollProfile.
To help troubleshooting the EnrollProfile has been modified to
log the stack trace and chain the exception.
https://fedorahosted.org/pki/ticket/1654
Diffstat (limited to 'base/common/src/com/netscape')
-rw-r--r-- | base/common/src/com/netscape/certsrv/profile/EProfileException.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/certsrv/profile/EProfileException.java b/base/common/src/com/netscape/certsrv/profile/EProfileException.java index 5ad254f74..e3cd95b7d 100644 --- a/base/common/src/com/netscape/certsrv/profile/EProfileException.java +++ b/base/common/src/com/netscape/certsrv/profile/EProfileException.java @@ -48,4 +48,8 @@ public class EProfileException extends EBaseException { public EProfileException(String msg, Throwable cause) { super(msg, cause); } + + public EProfileException(Throwable cause) { + super(cause.getMessage(), cause); + } } |