blob: 86f6dc8192670ea977a41452560af799ecdc00e2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.clustercontroller.utils.staterestapi.errors;
public class InvalidContentException extends StateRestApiException {
public InvalidContentException(String description) {
super(description);
setHtmlCode(400);
setHtmlStatus("Content of HTTP request had invalid data");
}
}
|