X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d3154c75960afc4f3fe7e53c835e35f2584ed97a..d2990e6ae897aeb38681ef24acfa01935acf8354:/src/bindings/java/org/simgrid/msg/Storage.java diff --git a/src/bindings/java/org/simgrid/msg/Storage.java b/src/bindings/java/org/simgrid/msg/Storage.java index b6953bc2ac..b4cac70932 100644 --- a/src/bindings/java/org/simgrid/msg/Storage.java +++ b/src/bindings/java/org/simgrid/msg/Storage.java @@ -25,7 +25,7 @@ public class Storage { protected Storage() { this.bind = 0; this.data = null; - }; + } @Override public String toString (){ @@ -43,7 +43,7 @@ public class Storage { * @exception StorageNotFoundException if the name of the storage is not valid. * @exception NativeException if the native version of this method failed. */ - public native static Storage getByName(String name) + public static native Storage getByName(String name) throws HostNotFoundException, NullPointerException, NativeException, StorageNotFoundException; /** @@ -104,7 +104,7 @@ public class Storage { * @return An array containing all the storages installed. * */ - public native static Storage[] all(); + public static native Storage[] all(); /** * Class initializer, to initialize various JNI stuff