Static helper that returns a 400 exception with the template: Missing parameter <code>parameter</code> @param paramname Name of the missing parameter @return A BadRequestException
(final String paramname)
| 127 | * @return A BadRequestException |
| 128 | */ |
| 129 | public static BadRequestException missingParameter(final String paramname) { |
| 130 | return new BadRequestException("Missing parameter <code>" + paramname |
| 131 | + "</code>"); |
| 132 | } |
| 133 | |
| 134 | /** @return the HTTP status code */ |
| 135 | public final HttpResponseStatus getStatus() { |
no outgoing calls
no test coverage detected