Package com.netscape.cms.servlet.common
Class GenErrorTemplateFiller
- java.lang.Object
-
- com.netscape.cms.servlet.common.GenErrorTemplateFiller
-
- All Implemented Interfaces:
ICMSTemplateFiller
public class GenErrorTemplateFiller extends java.lang.Object implements ICMSTemplateFiller
Default error template filler- Version:
- $Revision$, $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
logger
-
Fields inherited from interface com.netscape.cms.servlet.common.ICMSTemplateFiller
AUTHORITY, ERROR, ERROR_DESCR, EXCEPTION, HOST, KEYREC_ID, PORT, REQUEST_ID, REQUEST_STATUS, SCHEME
-
-
Constructor Summary
Constructors Constructor Description GenErrorTemplateFiller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CMSTemplateParams
getTemplateParams(CMSRequest cmsReq, IAuthority authority, java.util.Locale locale, java.lang.Exception e)
fill error details and description if any.
-
-
-
Method Detail
-
getTemplateParams
public CMSTemplateParams getTemplateParams(CMSRequest cmsReq, IAuthority authority, java.util.Locale locale, java.lang.Exception e)
fill error details and description if any.- Specified by:
getTemplateParams
in interfaceICMSTemplateFiller
- Parameters:
cmsReq
- the CMS Request.authority
- the authoritylocale
- the locale of template.e
- unexpected error. ignored.
-
-