projects
/
jSite2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WIP
[jSite2.git]
/
src
/
net
/
pterodactylus
/
jsite
/
core
/
Core.java
diff --git
a/src/net/pterodactylus/jsite/core/Core.java
b/src/net/pterodactylus/jsite/core/Core.java
index
0bf2cca
..
f04bb40
100644
(file)
--- a/
src/net/pterodactylus/jsite/core/Core.java
+++ b/
src/net/pterodactylus/jsite/core/Core.java
@@
-19,6
+19,7
@@
package net.pterodactylus.jsite.core;
package net.pterodactylus.jsite.core;
+import java.net.UnknownHostException;
import java.util.List;
/**
import java.util.List;
/**
@@
-50,8
+51,10
@@
public interface Core {
*
* @param node
* The node to add
*
* @param node
* The node to add
+ * @throws UnknownHostException
+ * if the hostname of the node can not be resolved
*/
*/
- public void addNode(Node node);
+ public void addNode(Node node)
throws UnknownHostException
;
/**
* Removes the given node from the core.
/**
* Removes the given node from the core.
@@
-104,4
+107,4
@@
public interface Core {
*/
public void disconnectFromNode(Node node);
*/
public void disconnectFromNode(Node node);
-}
\ No newline at end of file
+}