public class NoHandlerFoundException extends ServletException
true this exception is raised and may be handled with
 a configured HandlerExceptionResolver.DispatcherServlet.setThrowExceptionIfNoHandlerFound(boolean), 
DispatcherServlet.noHandlerFound(HttpServletRequest, HttpServletResponse), 
Serialized Form| Constructor and Description | 
|---|
| NoHandlerFoundException(String httpMethod,
                       String requestURL,
                       HttpHeaders headers)Constructor for NoHandlerFoundException. | 
| Modifier and Type | Method and Description | 
|---|---|
| HttpHeaders | getHeaders() | 
| String | getHttpMethod() | 
| String | getRequestURL() | 
getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NoHandlerFoundException(String httpMethod, String requestURL, HttpHeaders headers)
httpMethod - the HTTP methodrequestURL - the HTTP request URLheaders - the HTTP request headerspublic String getHttpMethod()
public String getRequestURL()
public HttpHeaders getHeaders()