Whitespace and formatting fixes.
[jFCPlib.git] / src / net / pterodactylus / fcp / highlevel / NotConnectedException.java
1 /**
2  * 
3  */
4
5 package net.pterodactylus.fcp.highlevel;
6
7 /**
8  * Exception that is thrown when an operation is tried on a not connected
9  * connection.
10  * 
11  * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
12  */
13 public class NotConnectedException extends HighLevelException {
14
15         /**
16          * Creates a new not-connected exception.
17          */
18         public NotConnectedException() {
19                 super();
20         }
21
22         /**
23          * Creates a new not-connected exception with the given message.
24          * 
25          * @param message
26          *            The message of the exception
27          */
28         public NotConnectedException(String message) {
29                 super(message);
30         }
31
32         /**
33          * Creates a new not-connected exception with the given cause.
34          * 
35          * @param cause
36          *            The cause of the exception
37          */
38         public NotConnectedException(Throwable cause) {
39                 super(cause);
40         }
41
42         /**
43          * Creates a new not-connected exception with the given message and cause.
44          * 
45          * @param message
46          *            The message of the exception
47          * @param cause
48          *            The cause of the exception
49          */
50         public NotConnectedException(String message, Throwable cause) {
51                 super(message, cause);
52         }
53
54 }