play.mvc.results.Forbidden Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of framework Show documentation
Show all versions of framework Show documentation
RePlay is a fork of the Play1 framework, created by Codeborne.
package play.mvc.results;
import play.mvc.Http;
/** 403 Forbidden */
public class Forbidden extends Error {
public Forbidden() {
this("Access denied");
}
public Forbidden(String reason) {
super(Http.StatusCode.FORBIDDEN, reason);
}
}