@ProviderType @Model(adaptables=org.apache.sling.api.SlingHttpServletRequest.class) public class ErrorHandler extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ERROR_PAGE
The page to fall back to if there is not an error page for the specific code
|
static String |
SERVICE_USER_NAME
Service User Name for the Error Handler
|
static String |
SITE_ERRORS_SUBPATH
The subpath under which to find the error pages
|
static String |
SLING_CMS_ERROR_PATH
Path under which the error pages for Sling CMS can be found.
|
Constructor and Description |
---|
ErrorHandler(org.apache.sling.api.SlingHttpServletRequest slingRequest) |
public static final String DEFAULT_ERROR_PAGE
public static final String SERVICE_USER_NAME
public static final String SITE_ERRORS_SUBPATH
public static final String SLING_CMS_ERROR_PATH
public ErrorHandler(org.apache.sling.api.SlingHttpServletRequest slingRequest)
@PostConstruct public void init()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.