From 92455fa97b373ab31ed4fecd1c4955230f78adbc Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Tue, 16 Jun 2015 14:04:49 +0200 Subject: [PATCH] [java] Synchronize Storage.getByName() throw specification with the javadoc --- src/bindings/java/org/simgrid/msg/Storage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +} -- 2.20.1