Extension point errorhandlers
Documentation
Define a set key/exception to be used to output error message
Contribution Descriptors
Existing Contributions
Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.
-
<extension point="errorhandlers" target="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService"> <errorHandlers bundle="messages" defaultpage="/nuxeo_error.jsp" loggerName="nuxeo-error-log"> <handlers> <handler code="404" error=".*DocumentNotFoundException" message="Error.Document.Not.Found"/> <handler code="403" error=".*SecurityException" message="Error.Insuffisant.Rights" page="/nuxeo_error_security.jsp"/> <handler code="500" error=".*" message="Error.Unknown"/> </handlers> </errorHandlers> </extension>