public class StaticErrorPagesProvider extends AbstractLogEnabled implements AdditionalSiteResourcesProvider
AdditionalSiteResourcesProvider
for adding static error
pages needed by Apache HTTPD when an error occurs (404, 500, ...).Constructor and Description |
---|
StaticErrorPagesProvider() |
Modifier and Type | Method and Description |
---|---|
void |
addResources(Site site,
File tempOutputDir)
Add resources to push in the current generation.
|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
public StaticErrorPagesProvider()
public void addResources(Site site, File tempOutputDir) throws Exception
AdditionalSiteResourcesProvider
addResources
in interface AdditionalSiteResourcesProvider
site
- the site where generation is underway.tempOutputDir
- the temporary output directory.Exception
- if an error occurs.