15 |
14 Oct 05 |
enell |
1 |
/* |
15 |
14 Oct 05 |
enell |
* plugins |
15 |
14 Oct 05 |
enell |
* Copyright (C) 2005 Johan Enell |
15 |
14 Oct 05 |
enell |
4 |
* |
15 |
14 Oct 05 |
enell |
* This program is free software; you can redistribute it and/or |
15 |
14 Oct 05 |
enell |
* modify it under the terms of the GNU General Public License |
15 |
14 Oct 05 |
enell |
* as published by the Free Software Foundation; either version 2 |
15 |
14 Oct 05 |
enell |
* of the License, or (at your option) any later version. |
15 |
14 Oct 05 |
enell |
9 |
* |
15 |
14 Oct 05 |
enell |
* This program is distributed in the hope that it will be useful, |
15 |
14 Oct 05 |
enell |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 |
14 Oct 05 |
enell |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 |
14 Oct 05 |
enell |
* GNU General Public License for more details. |
15 |
14 Oct 05 |
enell |
14 |
* |
15 |
14 Oct 05 |
enell |
* You should have received a copy of the GNU General Public License |
15 |
14 Oct 05 |
enell |
* along with this program; if not, write to the Free Software |
15 |
14 Oct 05 |
enell |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
15 |
14 Oct 05 |
enell |
18 |
*/ |
15 |
14 Oct 05 |
enell |
19 |
package basefile; |
15 |
14 Oct 05 |
enell |
20 |
|
15 |
14 Oct 05 |
enell |
21 |
/** |
15 |
14 Oct 05 |
enell |
* Thrown from a Base plugin when there is an error. |
15 |
14 Oct 05 |
enell |
23 |
* |
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 |
25 |
*/ |
15 |
14 Oct 05 |
enell |
26 |
public class PluginException extends Exception |
15 |
14 Oct 05 |
enell |
27 |
{ |
15 |
14 Oct 05 |
enell |
28 |
|
15 |
14 Oct 05 |
enell |
29 |
public PluginException() |
15 |
14 Oct 05 |
enell |
30 |
{ |
15 |
14 Oct 05 |
enell |
31 |
super(); |
15 |
14 Oct 05 |
enell |
32 |
} |
15 |
14 Oct 05 |
enell |
33 |
|
15 |
14 Oct 05 |
enell |
34 |
public PluginException(String message) |
15 |
14 Oct 05 |
enell |
35 |
{ |
15 |
14 Oct 05 |
enell |
36 |
super(message); |
15 |
14 Oct 05 |
enell |
37 |
} |
15 |
14 Oct 05 |
enell |
38 |
|
15 |
14 Oct 05 |
enell |
39 |
public PluginException(String message, Throwable cause) |
15 |
14 Oct 05 |
enell |
40 |
{ |
15 |
14 Oct 05 |
enell |
41 |
super(message, cause); |
15 |
14 Oct 05 |
enell |
42 |
} |
15 |
14 Oct 05 |
enell |
43 |
|
15 |
14 Oct 05 |
enell |
44 |
public PluginException(Throwable cause) |
15 |
14 Oct 05 |
enell |
45 |
{ |
15 |
14 Oct 05 |
enell |
46 |
super(cause); |
15 |
14 Oct 05 |
enell |
47 |
} |
15 |
14 Oct 05 |
enell |
48 |
|
15 |
14 Oct 05 |
enell |
49 |
} |