code: public void visit(final WebAppErrorPage webAppErrorPage) {
  		NullArgumentException.validateNotNull(webAppErrorPage,
  				"Web app error page");
  		try {
  			webContainer.registerErrorPage(webAppErrorPage.getError(),
  					webAppErrorPage.getLocation(), httpContext);
  			//CHECKSTYLE:OFF
  		} catch (Exception ignore) {
  			LOG.error(REGISTRATION_EXCEPTION_SKIPPING, ignore);
  		}
  		//CHECKSTYLE:ON
  	}
docs: Registers error pages with web container.
  
  @throws NullArgumentException if listener is null
  @see WebAppVisitor#visit(org.ops4j.pax.web.extender.war.internal.model.WebAppListener)