change exception stuff a bit
[jSite2.git] / src / net / pterodactylus / jsite / core / ProjectManager.java
index 5bb4c75..ca07a4d 100644 (file)
@@ -180,10 +180,10 @@ public class ProjectManager {
         * @return A newly created project
         * @throws IOException
         *             if an I/O error occured communicating with the node
-        * @throws NoNodeException
-        *             if no node is configured
+        * @throws JSiteException
+        *             if there is a problem with the node
         */
-       public Project createProject() throws IOException, NoNodeException {
+       public Project createProject() throws IOException, JSiteException {
                Project project = new Project();
                String[] keyPair = nodeManager.generateKeyPair();
                project.setPrivateKey(keyPair[0]);