1
2
3
4 package org.melati.servlet.test;
5
6 import org.melati.Melati;
7 import org.melati.MelatiConfig;
8 import org.melati.servlet.ConfigServlet;
9 import org.melati.util.ConfigException;
10
11
12
13
14
15
16
17 public class MelatiConfigExceptionConfigServlet extends ConfigServlet {
18
19
20
21
22 private static final long serialVersionUID = 1L;
23
24
25
26
27 public MelatiConfigExceptionConfigServlet() {
28 super();
29 }
30
31
32
33
34 protected void doConfiguredRequest(Melati melati)
35 throws Exception {
36
37 }
38
39 protected MelatiConfig melatiConfig() {
40 throw new ConfigException("Pretend bug");
41 }
42 }