782 |
18 Sep 08 |
jari |
1 |
/* |
782 |
18 Sep 08 |
jari |
$Id$ |
782 |
18 Sep 08 |
jari |
3 |
|
782 |
18 Sep 08 |
jari |
Copyright (C) 2006 Johan Enell |
782 |
18 Sep 08 |
jari |
5 |
|
782 |
18 Sep 08 |
jari |
This file is part of the se.lu.onk.BaseFile package, a utility |
782 |
18 Sep 08 |
jari |
package for reading files generated by BASE. The package is |
782 |
18 Sep 08 |
jari |
available at http://baseplugins.thep.lu.se/ and BASE web site is |
782 |
18 Sep 08 |
jari |
http://base.thep.lu.se |
782 |
18 Sep 08 |
jari |
10 |
|
782 |
18 Sep 08 |
jari |
This is free software; you can redistribute it and/or modify it |
782 |
18 Sep 08 |
jari |
under the terms of the GNU General Public License as published by |
782 |
18 Sep 08 |
jari |
the Free Software Foundation; either version 3 of the License, or |
782 |
18 Sep 08 |
jari |
(at your option) any later version. |
782 |
18 Sep 08 |
jari |
15 |
|
782 |
18 Sep 08 |
jari |
The software is distributed in the hope that it will be useful, but |
782 |
18 Sep 08 |
jari |
WITHOUT ANY WARRANTY; without even the implied warranty of |
782 |
18 Sep 08 |
jari |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
782 |
18 Sep 08 |
jari |
General Public License for more details. |
782 |
18 Sep 08 |
jari |
20 |
|
782 |
18 Sep 08 |
jari |
You should have received a copy of the GNU General Public License |
782 |
18 Sep 08 |
jari |
along with BASE. If not, see <http://www.gnu.org/licenses/>. |
782 |
18 Sep 08 |
jari |
23 |
*/ |
149 |
10 Aug 06 |
enell |
24 |
package basefile; |
149 |
10 Aug 06 |
enell |
25 |
|
149 |
10 Aug 06 |
enell |
26 |
/** |
149 |
10 Aug 06 |
enell |
* Thrown when a baseFile is bad formated. |
149 |
10 Aug 06 |
enell |
28 |
* |
149 |
10 Aug 06 |
enell |
* @author Johan Enell |
149 |
10 Aug 06 |
enell |
30 |
*/ |
149 |
10 Aug 06 |
enell |
31 |
public class BadFormatException extends BASEFileException { |
149 |
10 Aug 06 |
enell |
32 |
|
149 |
10 Aug 06 |
enell |
33 |
/** |
149 |
10 Aug 06 |
enell |
* Constructs an <code>BadFormatException</code> with no detail message. |
149 |
10 Aug 06 |
enell |
35 |
*/ |
149 |
10 Aug 06 |
enell |
36 |
public BadFormatException() { |
149 |
10 Aug 06 |
enell |
37 |
super(); |
149 |
10 Aug 06 |
enell |
38 |
} |
149 |
10 Aug 06 |
enell |
39 |
|
149 |
10 Aug 06 |
enell |
40 |
/** |
149 |
10 Aug 06 |
enell |
* Constructs an <code>BadFormatException</code> with the specified detail message. |
149 |
10 Aug 06 |
enell |
42 |
* |
149 |
10 Aug 06 |
enell |
* @param message the detail message. |
149 |
10 Aug 06 |
enell |
44 |
*/ |
149 |
10 Aug 06 |
enell |
45 |
public BadFormatException(String message) { |
149 |
10 Aug 06 |
enell |
46 |
super(message); |
149 |
10 Aug 06 |
enell |
47 |
} |
149 |
10 Aug 06 |
enell |
48 |
} |