X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/45c3f1cfee86fb48c96d53f8267f99b6db6e3d7a..5ed37babb2fa9097abe82df299c0aa259ed84d5a:/src/bindings/java/org/simgrid/msg/JniException.java?ds=sidebyside
diff --git a/src/bindings/java/org/simgrid/msg/JniException.java b/src/bindings/java/org/simgrid/msg/JniException.java
index ee3cafe397..6811443540 100644
--- a/src/bindings/java/org/simgrid/msg/JniException.java
+++ b/src/bindings/java/org/simgrid/msg/JniException.java
@@ -1,7 +1,6 @@
/* This exception is raised when there is a problem within the bindings (in JNI). */
-/* Copyright (c) 2006-2014. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2006-2023. 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. */
@@ -9,27 +8,22 @@
package org.simgrid.msg;
/**
- * This exception is raised when there is a problem within the bindings (in JNI).
+ * Exception raised when there is a problem within the bindings (in JNI).
+ *
* That's a RuntimeException: I guess nobody wants to survive a JNI error in SimGrid
*/
public class JniException extends RuntimeException {
private static final long serialVersionUID = 1L;
- /**
- * Constructs an JniException
without a
- * detail message.
- */
+ /** Constructs an JniException
without a detail message. */
public JniException() {
super();
}
- /**
- * Constructs an JniException
with a detail message.
- *
- * @param s the detail message.
- */ public JniException(String s) {
+ /** Constructs an JniException
with a detail message. */
+ public JniException(String s) {
super(s);
- }
+ }
public JniException(String string, Exception e) {
super(string,e);
}