Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: docs/template/ExampleException.java


1   
2   
3   package docs.template;
4   
5   import org.crosswire.util.LucidException;
6   
7   /**
8    * Something failed.
9    *
10   * <table border='1' cellPadding='3' cellSpacing='0' width="100%">
11   * <tr><td bgColor='white'class='TableRowColor'><font size='-7'>
12   * Distribution Licence:<br />
13   * Project B is free software; you can redistribute it
14   * and/or modify it under the terms of the GNU General Public License,
15   * version 2 as published by the Free Software Foundation.<br />
16   * This program is distributed in the hope that it will be useful,
17   * but WITHOUT ANY WARRANTY; without even the implied warranty of
18   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19   * General Public License for more details.<br />
20   * The License is available on the internet
21   * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, by writing to
22   * <i>Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
23   * MA 02111-1307, USA</i>, Or locally at the Licence link below.<br />
24   * The copyright to this program is held by it's authors.
25   * </font></td></tr></table>
26   * @see <a href='http://www.eireneh.com/servlets/Web'>Project B Home</a>
27   * @see <{docs.Licence}>
28   * @author Joe Walker
29   */
30  public class ExampleException extends LucidException
31  {
32      /**
33       * Construct the Exception with a message
34       * @param msg The resource id to read
35       */
36      public ExampleException(String msg)
37      {
38          super(msg);
39      }
40  
41      /**
42       * Construct the Exception with a message and a nested Exception
43       * @param msg The resource id to read
44       * @param ex The nested Exception
45       */
46      public ExampleException(String msg, Throwable ex)
47      {
48          super(msg, ex);
49      }
50  
51      /**
52       * Construct the Exception with a message and some I18N params
53       * @param msg The resource id to read
54       * @param params An array of parameters
55       */
56      public ExampleException(String msg, Object[] params)
57      {
58          super(msg, params);
59      }
60  
61      /**
62       * Construct the Exception with a message, a nested Exception
63       * and some I18N params
64       * @param msg The resource id to read
65       * @param ex The nested Exception
66       * @param params An array of parameters
67       */
68      public ExampleException(String msg, Throwable ex, Object[] params)
69      {
70          super(msg, ex, params);
71      }
72  }
73