git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7143
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
/**
* This exception is raised when there is a problem within the bindings (in JNI).
*/
/**
* This exception is raised when there is a problem within the bindings (in JNI).
*/
-public class JniException extends MsgException {
+public class JniException extends RuntimeException {
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 1L;
* @param task The java task object to bind with the native task to create.
*
* @exception JniException if something goes wrong with JNI
* @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()
* IllegalArgumentException if compute duration <0 or message size <0
*
* @see Task.create()
final static native void taskCreate(Task task, String name,
double computeDuration,
double messageSize)
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.
/**
* The natively implemented method to get the sender of a task.