File tree 1 file changed +3
-6
lines changed
spring-webmvc/src/main/java/org/springframework/web/servlet
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2022 the original author or authors.
2
+ * Copyright 2002-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
27
27
import org .springframework .web .ErrorResponse ;
28
28
29
29
/**
30
- * By default, when the DispatcherServlet can't find a handler for a request it
31
- * sends a 404 response. However, if its property "throwExceptionIfNoHandlerFound"
32
- * is set to {@code true} this exception is raised and may be handled with
33
- * a configured HandlerExceptionResolver.
30
+ * Thrown when the {@link DispatcherServlet} can't find a handler for a request,
31
+ * which may be handled with a configured {@link HandlerExceptionResolver}.
34
32
*
35
33
* @author Brian Clozel
36
34
* @since 4.0
37
- * @see DispatcherServlet#setThrowExceptionIfNoHandlerFound(boolean)
38
35
* @see DispatcherServlet#noHandlerFound(HttpServletRequest, HttpServletResponse)
39
36
*/
40
37
@ SuppressWarnings ("serial" )
You can’t perform that action at this time.
0 commit comments