8 public class HttpError extends UserError {
11 public HttpError(int code, String title, Object detail) {
15 public HttpError(int code, Object detail) {
16 this(code, Http.statusinfo.get(code).status, detail);
18 public HttpError(int code) {
19 this(code, Http.statusinfo.get(code).message);
22 public Map<Object, Object> handle(Request req) {
23 req.status(code + " " + skel.title);
24 return(super.handle(req));