Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingContrib

Services

Extension points

Contributions

XML source

<?xml version="1.0"?>
<component
  name="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingContrib">

  <extension
    target="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService"
    point="exceptionhandler">
    <exceptionHandler
      class="org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoSecurityExceptionHandler" />
  </extension>

  <extension
    target="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService"
    point="errorhandlers">
    <errorHandlers bundle="messages" loggerName="nuxeo-error-log"
      defaultpage="/nuxeo_error.jsp">
      <handlers>
        <handler error=".*DocumentNotFoundException" code="404"
          message="Error.Document.Not.Found" />
        <handler error=".*SecurityException" code="403"
          message="Error.Insuffisant.Rights" page="/nuxeo_error_security.jsp" />
        <handler error=".*" code="500"
          message="Error.Unknown" />
      </handlers>
    </errorHandlers>
  </extension>

  <extension
    target="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService"
    point="requestdump">
    <requestdump
      class="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.DefaultRequestDumper">
      <!-- you can add names of attributes you don't want to see listed in the request dump.
        <notListed>
        <attribute>javax.servlet.forward.request_uri</attribute>
        </notListed>
      -->
    </requestdump>
  </extension>

  <extension
    target="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService"
    point="listener">
    <listener
      class="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.NullExceptionHandlingListener" />
  </extension>

</component>

Documentation