public class UnsupportedHttpServletMethodException extends RuntimeException
Only keeping simple support for a HttpServlet
.
This is thrown to indicate methods are not supported.
Modifier and Type | Method and Description |
---|---|
static <T> T |
notSupported()
Invoked to indicate
HttpServlet method is not supported. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static <T> T notSupported() throws UnsupportedHttpServletMethodException
HttpServlet
method is not supported.T
- Any type for ease of use in methods requiring a return value.UnsupportedHttpServletMethodException
- UnsupportedHttpServletMethodException
.Copyright © 2005–2016. All rights reserved.