public class DefaultExceptionHandler extends AbstractLogEnabled implements ExceptionHandler, ThreadSafe, Contextualizable
WEB-INF/stylesheets/error or in the runtime jar in pages/error/error.xsl| Modifier and Type | Field and Description | 
|---|---|
| private Context | _cocoonContext | 
ROLE| Constructor and Description | 
|---|
| DefaultExceptionHandler()Constructor as component | 
| DefaultExceptionHandler(Context context)Constructor for default behavior when application is not starting | 
| Modifier and Type | Method and Description | 
|---|---|
| void | contextualize(Context context) | 
| String | getExceptionXSLURI(String code)Returns an URI corresponding to the XSL responsible to render the Exception | 
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerprivate Context _cocoonContext
public DefaultExceptionHandler()
DefaultExceptionHandler(Context context)
context - The cocoon contextpublic void contextualize(Context context) throws ContextException
contextualize in interface ContextualizableContextExceptionpublic String getExceptionXSLURI(String code)
ExceptionHandlergetExceptionXSLURI in interface ExceptionHandlercode - the HTTP response status code corresponding to the handled exception