X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3ebadd9e5be27aa17f9560a0a7841e6fde4d33d1..1093a7b2c198879bbf0aba14b2ef4340c4de4317:/src/java/simgrid/msg/MsgNative.java diff --git a/src/java/simgrid/msg/MsgNative.java b/src/java/simgrid/msg/MsgNative.java index 0e070edc61..67925846e7 100644 --- a/src/java/simgrid/msg/MsgNative.java +++ b/src/java/simgrid/msg/MsgNative.java @@ -342,7 +342,6 @@ final class MsgNative { * @param task The java task object to bind with the native task to create. * * @exception JniException if something goes wrong with JNI - * NullPointerException if the specified name is null. * IllegalArgumentException if compute duration <0 or message size <0 * * @see Task.create() @@ -350,7 +349,7 @@ final class MsgNative { final static native void taskCreate(Task task, String name, double computeDuration, double messageSize) - throws JniException, NullPointerException, IllegalArgumentException; + throws JniException, IllegalArgumentException; /** * The natively implemented method to get the sender of a task.