15 |
14 Oct 05 |
enell |
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 |
*/ |
15 |
14 Oct 05 |
enell |
24 |
package basefile; |
15 |
14 Oct 05 |
enell |
25 |
|
15 |
14 Oct 05 |
enell |
26 |
/** |
15 |
14 Oct 05 |
enell |
* Thrown from a Base plugin when there is an error. |
15 |
14 Oct 05 |
enell |
28 |
* |
15 |
14 Oct 05 |
enell |
* @author Johan Enell, johan.enell@onk.lu.se, Dept Oncology, Lund University, S-221 85 Lund, Sweden |
15 |
14 Oct 05 |
enell |
30 |
*/ |
15 |
14 Oct 05 |
enell |
31 |
public class PluginException extends Exception |
15 |
14 Oct 05 |
enell |
32 |
{ |
15 |
14 Oct 05 |
enell |
33 |
|
15 |
14 Oct 05 |
enell |
34 |
public PluginException() |
15 |
14 Oct 05 |
enell |
35 |
{ |
15 |
14 Oct 05 |
enell |
36 |
super(); |
15 |
14 Oct 05 |
enell |
37 |
} |
15 |
14 Oct 05 |
enell |
38 |
|
15 |
14 Oct 05 |
enell |
39 |
public PluginException(String message) |
15 |
14 Oct 05 |
enell |
40 |
{ |
15 |
14 Oct 05 |
enell |
41 |
super(message); |
15 |
14 Oct 05 |
enell |
42 |
} |
15 |
14 Oct 05 |
enell |
43 |
|
15 |
14 Oct 05 |
enell |
44 |
public PluginException(String message, Throwable cause) |
15 |
14 Oct 05 |
enell |
45 |
{ |
15 |
14 Oct 05 |
enell |
46 |
super(message, cause); |
15 |
14 Oct 05 |
enell |
47 |
} |
15 |
14 Oct 05 |
enell |
48 |
|
15 |
14 Oct 05 |
enell |
49 |
public PluginException(Throwable cause) |
15 |
14 Oct 05 |
enell |
50 |
{ |
15 |
14 Oct 05 |
enell |
51 |
super(cause); |
15 |
14 Oct 05 |
enell |
52 |
} |
15 |
14 Oct 05 |
enell |
53 |
|
15 |
14 Oct 05 |
enell |
54 |
} |