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

cat.inspiracio.servlet.http.HTTPException Maven / Gradle / Ivy

package cat.inspiracio.servlet.http;

/** An exception representing a http status code 4xx or 5xx.
 * 
 * I cannot use javax.xml.ws.http.HTTPException because Google Appengine 
 * restricts use of that class.
 * */
public class HTTPException extends RuntimeException {
	private int status;
	public HTTPException(int status){this.status=status;}
	public int getStatusCode(){return status;}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy