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