Package io.micronaut.servlet.engine
Class InvalidRequestUriException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
io.micronaut.servlet.engine.InvalidRequestUriException
- All Implemented Interfaces:
Serializable
Thrown when the request URI and query string the container passed on do not form a valid URI, for example because
of a malformed escape sequence in the query string.
DefaultServletHttpHandler answers such a request with a
400 before throwing it from DefaultServletHttpHandler.exchange(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse); DefaultServletHttpHandler.service(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse) does not throw it at all.
Extends IllegalArgumentException, which is what URI.create(String) threw before.
- Since:
- 5.6.3
- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString