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.solver; |
22 | |
23 | /** |
24 | * Exception class thrown by a solver to indicate it is unable to solve the puzzle. |
25 | * @author <a href="http://sourceforge.net/users/stevensa">Andrew Stevens</a> |
26 | */ |
27 | public class UnsolveablePuzzleException extends java.lang.Exception { |
28 | |
29 | /** |
30 | * Creates a new instance of <code>UnsolveablePuzzleException</code> without |
31 | * detail message. |
32 | */ |
33 | public UnsolveablePuzzleException() { |
34 | } |
35 | |
36 | /** |
37 | * Constructs an instance of <code>UnsolveablePuzzleException</code> with |
38 | * the specified detail message. |
39 | * @param msg The detail message. |
40 | */ |
41 | public UnsolveablePuzzleException(String msg) { |
42 | super(msg); |
43 | } |
44 | |
45 | } |