*
* @return The host object with the given name.
* @exception HostNotFoundException if the name of the host is not valid.
- * NativeException if the native version of this method failed.
*/
- public static native Host getByName(String name) throws HostNotFoundException, NullPointerException;
+ public static native Host getByName(String name) throws HostNotFoundException;
/** Counts the installed hosts. */
public static native int getCount();
* @exception StorageNotFoundException if the name of the storage is not valid.
*/
public static native Storage getByName(String name)
- throws HostNotFoundException, NullPointerException, StorageNotFoundException;
+ throws HostNotFoundException, StorageNotFoundException;
/**
* This method returns the name of a storage.
*/
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 * *
* * * */