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] Add missing throw NativeException specifications, fix javadoc
[simgrid.git]
/
src
/
bindings
/
java
/
org
/
simgrid
/
msg
/
Task.java
diff --git
a/src/bindings/java/org/simgrid/msg/Task.java
b/src/bindings/java/org/simgrid/msg/Task.java
index
0ee65c4
..
46f568a
100644
(file)
--- a/
src/bindings/java/org/simgrid/msg/Task.java
+++ b/
src/bindings/java/org/simgrid/msg/Task.java
@@
-42,11
+42,11
@@
public class Task {
*
* @param flopsAmount A value of the processing amount (in flop) needed to process the task.
* If 0, then it cannot be executed with the execute() method.
*
* @param flopsAmount A value of the processing amount (in flop) needed to process the task.
* If 0, then it cannot be executed with the execute() method.
- * This value has to be
>=
0.
+ * This value has to be
≥
0.
*
* @param bytesAmount A value of amount of data (in bytes) needed to transfert this task.
* If 0, then it cannot be transfered with the get() and put() methods.
*
* @param bytesAmount A value of amount of data (in bytes) needed to transfert this task.
* If 0, then it cannot be transfered with the get() and put() methods.
- * This value has to be
>=
0.
+ * This value has to be
≥
0.
*/
public Task(String name, double flopsAmount, double bytesAmount) {
create(name, flopsAmount, bytesAmount);
*/
public Task(String name, double flopsAmount, double bytesAmount) {
create(name, flopsAmount, bytesAmount);
@@
-199,7
+199,7
@@
public class Task {
* @throws HostFailureException
* @throws TransferFailureException
*/
* @throws HostFailureException
* @throws TransferFailureException
*/
- public void send(String mailbox) throws TransferFailureException, HostFailureException, TimeoutException {
+ public void send(String mailbox) throws TransferFailureException, HostFailureException, TimeoutException
, NativeException
{
send(mailbox, -1);
}
send(mailbox, -1);
}
@@
-213,7
+213,7
@@
public class Task {
* @throws HostFailureException
* @throws TransferFailureException
*/
* @throws HostFailureException
* @throws TransferFailureException
*/
- public native void send(String mailbox, double timeout) throws TransferFailureException, HostFailureException, TimeoutException;
+ public native void send(String mailbox, double timeout) throws TransferFailureException, HostFailureException, TimeoutException
, NativeException
;
/** Sends the task on the specified mailbox (capping the sending rate to \a maxrate)
*
/** Sends the task on the specified mailbox (capping the sending rate to \a maxrate)
*