All Downloads are FREE. Search and download functionalities are using the official Maven repository.

info.unterrainer.commons.httpserver.exceptions.ForbiddenException Maven / Gradle / Ivy

There is a newer version: 0.3.14
Show newest version
package info.unterrainer.commons.httpserver.exceptions;

public class ForbiddenException extends HttpException {

	private static final long serialVersionUID = -9128226690837369251L;

	public static final int HTTP_STATUS = 403;
	public static final String HTTP_TEXT = "Forbidden";

	public ForbiddenException(final String message, final Throwable cause) {
		super(HTTP_STATUS, HTTP_TEXT, message, cause);
	}

	public ForbiddenException(final String message) {
		super(HTTP_STATUS, HTTP_TEXT, message);
	}

	public ForbiddenException() {
		super(HTTP_STATUS, HTTP_TEXT);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy