projects
/
jFCPlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add not-conncted exception
[jFCPlib.git]
/
src
/
net
/
pterodactylus
/
fcp
/
highlevel
/
HighLevelClient.java
diff --git
a/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java
b/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java
index
e263454
..
14aa5f3
100644
(file)
--- a/
src/net/pterodactylus/fcp/highlevel/HighLevelClient.java
+++ b/
src/net/pterodactylus/fcp/highlevel/HighLevelClient.java
@@
-533,13
+533,13
@@
public class HighLevelClient {
* Checks whether the client is already connected and throws an exception if
* it is not.
*
* Checks whether the client is already connected and throws an exception if
* it is not.
*
- * @throws
HighLevel
Exception
+ * @throws
NotConnected
Exception
* if the client is not connected
*/
* if the client is not connected
*/
- private void checkConnection() throws
HighLevel
Exception {
+ private void checkConnection() throws
NotConnected
Exception {
synchronized (this) {
if (fcpConnection == null) {
synchronized (this) {
if (fcpConnection == null) {
- throw new
HighLevel
Exception("client is not connected");
+ throw new
NotConnected
Exception("client is not connected");
}
}
}
}
}
}