A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
java: kill obscure NativeException
[simgrid.git]
/
examples
/
java
/
async
/
yield
/
Main.java
diff --git
a/examples/java/async/yield/Main.java
b/examples/java/async/yield/Main.java
index
d4c9bea
..
6e044a5
100644
(file)
--- a/
examples/java/async/yield/Main.java
+++ b/
examples/java/async/yield/Main.java
@@
-11,10
+11,9
@@
package async.yield;
* and has nothing to do at the end as with Task.isend() where it must do a Comm.wait().
*/
* and has nothing to do at the end as with Task.isend() where it must do a Comm.wait().
*/
-import org.simgrid.msg.Msg;
import org.simgrid.msg.Host;
import org.simgrid.msg.Host;
-import org.simgrid.msg.NativeException;
import org.simgrid.msg.HostNotFoundException;
import org.simgrid.msg.HostNotFoundException;
+import org.simgrid.msg.Msg;
class Main {
private Main() {
class Main {
private Main() {
@@
-22,7
+21,7
@@
class Main {
throw new IllegalAccessError("Utility class");
}
throw new IllegalAccessError("Utility class");
}
- public static void main(String[] args) throws
NativeException,
HostNotFoundException {
+ public static void main(String[] args) throws HostNotFoundException {
Msg.init(args);
String platform = "../platforms/small_platform.xml";
Msg.init(args);
String platform = "../platforms/small_platform.xml";