• Phillip Webb's avatar
    Remove @ControllerAdvice from BasicErrorController · 30ac768c
    Phillip Webb authored
    Update the BasicErrorController so that it no longer needs to implement
    @ControllerAdvice or have an @ExceptionHandler method.
    
    A new ErrorAttributes interface is now used to obtain error details,
    the DefaultErrorAttributes implementation uses a
    HandlerExceptionResolver to obtain root exception details if the
    `javax.servlet.error.*` attributes are missing.
    
    This change also removes the need for the extract(...) method on
    ErrorController as classes such as WebRequestTraceFilter can
    now use the ErrorAttributes interface directly.
    
    See gh-839, gh-538
    Fixes gh-843
    30ac768c
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...