X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8be7ea3f9e71cd563e91b6aba63f5c70f043fbd5..5ed37babb2fa9097abe82df299c0aa259ed84d5a:/src/bindings/java/org/simgrid/msg/JniException.java
diff --git a/src/bindings/java/org/simgrid/msg/JniException.java b/src/bindings/java/org/simgrid/msg/JniException.java
index ce2fd39d5b..6811443540 100644
--- a/src/bindings/java/org/simgrid/msg/JniException.java
+++ b/src/bindings/java/org/simgrid/msg/JniException.java
@@ -1,37 +1,29 @@
-/*
- * This exception is raised when there is a problem within the bindings (in JNI).
- *
- * Copyright (c) 2006-2013. 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.
- */
+/* This exception is raised when there is a problem within the bindings (in JNI). */
+
+/* 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. */
+
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);
}