Added basic HTML generation and response handling.
[jrw.git] / src / jrw / resp / UserError.java
1 package jrw.resp;
2
3 import jrw.*;
4 import jrw.sp.*;
5 import java.util.*;
6
7 public 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 }