51637cce856d877bba9f8cc099f073d09a44f892
[jFCPlib.git] / src / net / pterodactylus / fcp / highlevel / HighLevelException.java
1 /**
2  * 
3  */
4 package net.pterodactylus.fcp.highlevel;
5
6 /**
7  * Base exception for high-level client exceptions.
8  * 
9  * @author <a href="mailto:dr@ina-germany.de">David Roden</a>
10  * @version $Id$
11  */
12 public class HighLevelException extends Exception {
13
14         /**
15          * Creates a new high-level client exception.
16          */
17         public HighLevelException() {
18                 super();
19         }
20
21         /**
22          * Creates a new high-level client exception with the given message.
23          * 
24          * @param message
25          *            The message of the exception
26          */
27         public HighLevelException(String message) {
28                 super(message);
29         }
30
31         /**
32          * Creates a new high-level client exception with the given cause.
33          * 
34          * @param cause
35          *            The cause of the exception
36          */
37         public HighLevelException(Throwable cause) {
38                 super(cause);
39         }
40
41         /**
42          * Creates a new high-level client exception with the given message and
43          * cause.
44          * 
45          * @param message
46          *            The message of the exception
47          * @param cause
48          *            The cause of the exception
49          */
50         public HighLevelException(String message, Throwable cause) {
51                 super(message, cause);
52         }
53
54 }