MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / missingParameter

Method missingParameter

src/tsd/BadRequestException.java:129–132  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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() {

Callers 2

doGraphMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected