Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge commit '4df273f15273f959fc9e6ed69d2bf5e607ec9bf7' into HEAD
[simgrid.git] / org / simgrid / msg / JniException.java
index 6592ef5..d9333a2 100644 (file)
@@ -1,14 +1,14 @@
 /*
  * This exception is raised when there is a problem within the bindings (in JNI). 
  *
- * Copyright 2006,2007,2010 The SimGrid Team            
+ * Copyright 2006-2012 The SimGrid Team            
  * All right 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.
  */
-package simgrid.msg;
+package org.simgrid.msg;
 
 /**
  * This exception is raised when there is a problem within the bindings (in JNI). 
@@ -32,4 +32,7 @@ public class JniException extends RuntimeException {
         */ public JniException(String s) {
                 super(s);
         }
+       public JniException(String string, Exception e) {
+               super(string,e);
+       }
 }