View Javadoc
1   /**
2    * 
3    */
4   package org.melati.app.test;
5   
6   import org.melati.Melati;
7   import org.melati.app.PoemApp;
8   
9   /**
10   * @author timp
11   *
12   */
13  public class ThrowingPoemApp extends PoemApp {
14  
15    /**
16     * 
17     */
18    public ThrowingPoemApp() {
19      super();
20      
21    }
22  
23    /**
24     * {@inheritDoc}
25     * @see org.melati.app.AbstractPoemApp#prePoemSession(org.melati.Melati)
26     */
27    protected void prePoemSession(Melati melati) throws Exception {
28      throw new RuntimeException("Bang!");
29      
30    }
31  
32    /*
33     * The main entry point.
34     * 
35     * @param args in format <code>db table troid method</code> 
36     */
37    public static void main(String[] args) throws Exception {
38      ThrowingPoemApp me = new ThrowingPoemApp();
39      me.run(args);
40    }
41  
42  
43  }