Added basic HTML generation and response handling.
[jrw.git] / src / jrw / resp / UserError.java
CommitLineData
6e0043cc
FT
1package jrw.resp;
2
3import jrw.*;
4import jrw.sp.*;
5import java.util.*;
6
7public class UserError extends HtmlResponse {
8 public UserError(String title, Object... detail) {
9 super(title, detail);
10 }
11
12 public Map<Object, Object> handle(Request req) {
13 return(xhtml.response(req, skel.error(req)));
14 }
15}