diff options
author | Ade Lee <alee@redhat.com> | 2012-07-10 21:37:47 -0400 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2012-07-10 21:41:11 -0400 |
commit | 778091c087b072a2e5c56ed1cffbee683d421363 (patch) | |
tree | 15f5164839ed347c2deaed103bf831c5e8fa9801 /base/ca | |
parent | c0fab92cce771af6e627a057ae4f18cc28d1442d (diff) | |
download | pki-778091c087b072a2e5c56ed1cffbee683d421363.tar.gz pki-778091c087b072a2e5c56ed1cffbee683d421363.tar.xz pki-778091c087b072a2e5c56ed1cffbee683d421363.zip |
Added CMSExceptionMapper class to the Application classes
Diffstat (limited to 'base/ca')
-rw-r--r-- | base/ca/src/com/netscape/ca/CertificateAuthorityApplication.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/ca/src/com/netscape/ca/CertificateAuthorityApplication.java b/base/ca/src/com/netscape/ca/CertificateAuthorityApplication.java index a70a3600d..2a0ca8e6b 100644 --- a/base/ca/src/com/netscape/ca/CertificateAuthorityApplication.java +++ b/base/ca/src/com/netscape/ca/CertificateAuthorityApplication.java @@ -10,6 +10,7 @@ import com.netscape.cms.servlet.admin.GroupResourceService; import com.netscape.cms.servlet.admin.SystemCertificateResourceService; import com.netscape.cms.servlet.admin.UserCertResourceService; import com.netscape.cms.servlet.admin.UserResourceService; +import com.netscape.cms.servlet.base.CMSException; import com.netscape.cms.servlet.cert.CertResourceService; import com.netscape.cms.servlet.cert.CertsResourceService; import com.netscape.cms.servlet.csadmin.SystemConfigurationResourceService; @@ -44,6 +45,9 @@ public class CertificateAuthorityApplication extends Application { // system certs classes.add(SystemCertificateResourceService.class); + + // exception mapper + classes.add(CMSException.Mapper.class); } public Set<Class<?>> getClasses() { |