Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Acknoledge the fact that JniException is a runtime exception now: kill all its occure...
[simgrid.git] / examples / java / ping_pong / PingPongTask.java
index 62c178a..79fa7d2 100644 (file)
@@ -1,8 +1,5 @@
 /*
 /*
- * $Id$
- *
- * Copyright 2006,2007 Martin Quinson, Malek Cherier         
- * All rights reserved. 
+ * Copyright 2006,2007,2010. 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. 
  *
  * 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. 
@@ -14,11 +11,11 @@ public class PingPongTask extends Task {
    
    private double timeVal;
    
    
    private double timeVal;
    
-   public PingPongTask() throws JniException, NativeException {
+   public PingPongTask() throws NativeException {
       this.timeVal = 0;
    }
    
       this.timeVal = 0;
    }
    
-   public PingPongTask(String name, double computeDuration, double messageSize) throws JniException, NativeException {      
+   public PingPongTask(String name, double computeDuration, double messageSize) throws NativeException {      
       super(name,computeDuration,messageSize);         
    }
    
       super(name,computeDuration,messageSize);         
    }