public class GenErrorTemplateFiller extends java.lang.Object implements ICMSTemplateFiller
AUTHORITY, ERROR, ERROR_DESCR, EXCEPTION, HOST, KEYREC_ID, PORT, REQUEST_ID, REQUEST_STATUS, SCHEME
Constructor and Description |
---|
GenErrorTemplateFiller() |
Modifier and Type | Method and Description |
---|---|
CMSTemplateParams |
getTemplateParams(CMSRequest cmsReq,
IAuthority authority,
java.util.Locale locale,
java.lang.Exception e)
fill error details and description if any.
|
public CMSTemplateParams getTemplateParams(CMSRequest cmsReq, IAuthority authority, java.util.Locale locale, java.lang.Exception e)
getTemplateParams
in interface ICMSTemplateFiller
cmsReq
- the CMS Request.authority
- the authoritylocale
- the locale of template.e
- unexpected error. ignored.