void configureServerError ( Reflections reflections ) { log . info ( "Checking for an error endpoint.." ) ; ServerError serverError = getEndpoint ( ServerError . class , "error" , reflections ) ; if ( serverError == null ) serverError = new DefaultServerError ( ) ; printEndpoint ( serverError , "error" ) ; this . serverError = serverError ; }
Searches for and configures the not error endpoint .