Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingContrib--errorhandlers

This contribution is part of XML component org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingContrib inside nuxeo-platform-web-common-7.10-HF07.jar /OSGI-INF/exception-handling-contrib.xml

Extension point

Extension point errorhandlers of component ExceptionHandlingService.

Contributed items

  • <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>

XML source

<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>