1 | /* |
2 | * Copyright (c) 2005 The PseudoQ Project. |
3 | * |
4 | * This file is part of PseudoQ. |
5 | * |
6 | * PseudoQ is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU Lesser General Public License as published by |
8 | * the Free Software Foundation; either version 2.1 of the License, or |
9 | * (at your option) any later version. |
10 | * |
11 | * PseudoQ is distributed in the hope that it will be useful, |
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | * GNU Lesser General Public License for more details. |
15 | * |
16 | * You should have received a copy of the GNU Lesser General Public License |
17 | * along with PseudoQ; if not, write to the Free Software |
18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
19 | */ |
20 | |
21 | package net.sourceforge.pseudoq.generation; |
22 | |
23 | /** |
24 | * Exception class thrown by a generator to indicate it is unable to create a |
25 | * puzzle. |
26 | * @author <a href="http://sourceforge.net/users/stevensa">Andrew Stevens</a> |
27 | */ |
28 | public class GenerationException extends java.lang.Exception { |
29 | |
30 | /** |
31 | * Creates a new instance of <code>GenerationException</code> without detail message. |
32 | */ |
33 | public GenerationException() { |
34 | } |
35 | |
36 | /** |
37 | * Constructs an instance of <code>GenerationException</code> with the specified detail message. |
38 | * @param msg the detail message. |
39 | */ |
40 | public GenerationException(String msg) { |
41 | super(msg); |
42 | } |
43 | |
44 | } |