From: Gabriel Corona Date: Tue, 16 Jun 2015 12:04:49 +0000 (+0200) Subject: [java] Synchronize Storage.getByName() throw specification with the javadoc X-Git-Tag: v3_12~582 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/92455fa97b373ab31ed4fecd1c4955230f78adbc [java] Synchronize Storage.getByName() throw specification with the javadoc --- diff --git a/src/bindings/java/org/simgrid/msg/Storage.java b/src/bindings/java/org/simgrid/msg/Storage.java index 1b7950163c..201a3b98d0 100644 --- a/src/bindings/java/org/simgrid/msg/Storage.java +++ b/src/bindings/java/org/simgrid/msg/Storage.java @@ -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 +}