change exception stuff a bit
[jSite2.git] / src / net / pterodactylus / jsite / core / Core.java
index 0599a76..ba0b452 100644 (file)
@@ -117,10 +117,10 @@ public interface Core {
         * @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;
 
        /**
         * Returns a list of all projects.