private Configuration getErrorPageConfiguration() {
		return new AbstractConfiguration() {

			@Override
			public void configure(WebAppContext context) throws Exception {
				ErrorHandler errorHandler = context.getErrorHandler();
				context.setErrorHandler(new JettyEmbeddedErrorHandler(errorHandler));
				addJettyErrorPages(errorHandler, getErrorPages());
			}

		};
	}
private Configuration getErrorPageConfiguration ( ) { return new AbstractConfiguration ( ) { @ Override public void configure ( WebAppContext context ) throws Exception { ErrorHandler errorHandler = context . getErrorHandler ( ) ; context . setErrorHandler ( new JettyEmbeddedErrorHandler ( errorHandler ) ) ; addJettyErrorPages ( errorHandler , getErrorPages ( ) ) ; } } ; }
Create a configuration object that adds error handlers.
@return a configuration object for adding error pages