Update year in copyright lines
[Sone.git] / src / main / java / net / pterodactylus / sone / freenet / plugin / PluginException.java
1 /*
2  * Sone - PluginException.java - Copyright © 2010–2019 David Roden
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16  */
17
18 package net.pterodactylus.sone.freenet.plugin;
19
20 import net.pterodactylus.sone.freenet.wot.WebOfTrustException;
21
22 /**
23  * Exception that signals an error when communicating with a plugin.
24  */
25 public class PluginException extends WebOfTrustException {
26
27         /**
28          * Creates a new plugin exception.
29          */
30         public PluginException() {
31                 super();
32         }
33
34         /**
35          * Creates a new plugin exception.
36          *
37          * @param message
38          *            The message of the exception
39          */
40         public PluginException(String message) {
41                 super(message);
42         }
43
44         /**
45          * Creates a new plugin exception.
46          *
47          * @param cause
48          *            The cause of the exception
49          */
50         public PluginException(Throwable cause) {
51                 super(cause);
52         }
53
54         /**
55          * Creates a new plugin exception.
56          *
57          * @param message
58          *            The message of the exception
59          * @param cause
60          *            The cause of the exception
61          */
62         public PluginException(String message, Throwable cause) {
63                 super(message, cause);
64         }
65
66 }