Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[java] Synchronize Storage.getByName() throw specification with the javadoc
authorGabriel Corona <gabriel.corona@loria.fr>
Tue, 16 Jun 2015 12:04:49 +0000 (14:04 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Tue, 16 Jun 2015 12:05:08 +0000 (14:05 +0200)
src/bindings/java/org/simgrid/msg/Storage.java

index 1b79501..201a3b9 100644 (file)
@@ -50,7 +50,7 @@ public class Storage {
         *                                      NativeException if the native version of this method failed.
         */ 
        public native static Storage getByName(String name) 
-                       throws HostNotFoundException, NullPointerException;
+                       throws HostNotFoundException, NullPointerException, NativeException, StorageNotFoundException;
 
        /**
         * This method returns the name of a storage.
@@ -120,4 +120,4 @@ public class Storage {
                nativeInit();
        }               
 
-}
\ No newline at end of file
+}