blob: ceba126ac5802c36fe111734b68aa95835f1d7d3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
// Copyright 2017 Yahoo Holdings. 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");
}
}
|