1 /**
2  * The chess framework library.
3  * More information is available at http://www.jinchess.com/.
4  * Copyright (C) 2002 Alexander Maryanovsky.
5  * All rights reserved.
6  *
7  * The chess framework library is free software; you can redistribute
8  * it and/or modify it under the terms of the GNU Lesser General Public License
9  * as published by the Free Software Foundation; either version 2 of the
10  * License, or (at your option) any later version.
11  *
12  * The chess framework library is distributed in the hope that it will
13  * be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser
15  * General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public License
18  * along with the chess framework library; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20  */
21 
22 package free.chess;
23 
24 import free.util.FormatException;
25 
26 
27 /**
28  * Thrown when the format of a chess move is wrong.
29  */
30 
31 public class MoveFormatException extends FormatException{
32 
33 
34   /**
35    * Creates a new MoveFormatException for the given real Throwable and the given
36    * message.
37    */
38 
MoveFormatException(Throwable realException, String message)39   public MoveFormatException(Throwable realException, String message){
40     super(realException, message);
41   }
42 
43 
44 
45   /**
46    * Creates a new MoveFormatException for the given real Throwable.
47    */
48 
MoveFormatException(Throwable realException)49   public MoveFormatException(Throwable realException){
50     super(realException);
51   }
52 
53 
54 
55   /**
56    * Creates a new MoveFormatException with the given message.
57    */
58 
MoveFormatException(String message)59   public MoveFormatException(String message){
60     super(message);
61   }
62 
63 
64 
65   /**
66    * Creates a new MoveFormatException.
67    */
68 
MoveFormatException()69   public MoveFormatException(){
70     super();
71   }
72 
73 }
74