com.softicar.platform.common.network.http.error.HttpBadRequestError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.network.http.error;
import com.softicar.platform.common.network.http.HttpStatusCode;
/**
* Represents the HTTP error 400 Bad Request.
*
* The server cannot or will not process the request due to an apparent
* client error (e.g., malformed request syntax, size too large, invalid request
* message framing, or deceptive request routing).
*
* @author Oliver Richers
*/
public class HttpBadRequestError extends HttpError {
public HttpBadRequestError() {
this("Bad Request");
}
public HttpBadRequestError(String message, Object...arguments) {
this(null, message, arguments);
}
public HttpBadRequestError(Throwable cause, String message, Object...arguments) {
super(HttpStatusCode.BAD_REQUEST, cause, message, arguments);
}
}