-/* Copyright (c) 2006-2015. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2006-2016. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
*/
private final native void create(String name,
double flopsAmount,
- double bytesAmount)
- throws IllegalArgumentException;
+ double bytesAmount);
/**
* The natively implemented method to create a MSG parallel task.
*
private final native void parallelCreate(String name,
Host[]hosts,
double[]flopsAmount,
- double[]bytesAmount)
- throws NullPointerException, IllegalArgumentException;
+ double[]bytesAmount);
/* * * *
* * Getters / Setters * *
* * * */
* @throws HostFailureException
* @throws TransferFailureException
*/
- public void send(String mailbox) throws TransferFailureException, HostFailureException, TimeoutException, NativeException {
+ public void send(String mailbox) throws TransferFailureException, HostFailureException, TimeoutException {
send(mailbox, -1);
}
*
* @param mailbox where to send the message
* @param timeout
- * @exception NativeException if the retrieval fails.
* @throws TimeoutException
* @throws HostFailureException
* @throws TransferFailureException
*/
- public native void send(String mailbox, double timeout) throws TransferFailureException, HostFailureException, TimeoutException, NativeException;
+ public native void send(String mailbox, double timeout) throws TransferFailureException, HostFailureException, TimeoutException;
/** Sends the task on the specified mailbox (capping the sending rate to \a maxrate)
*