1 /* This exception is raised when there is a problem within the bindings (in JNI). */
3 /* Copyright (c) 2006-2014. The SimGrid Team.
4 * All rights reserved. */
6 /* This program is free software; you can redistribute it and/or modify it
7 * under the terms of the license (GNU LGPL) which comes with this package. */
9 package org.simgrid.msg;
12 * This exception is raised when there is a problem within the bindings (in JNI).
13 * That's a RuntimeException: I guess nobody wants to survive a JNI error in SimGrid
15 public class JniException extends RuntimeException {
16 private static final long serialVersionUID = 1L;
20 * Constructs an <code>JniException</code> without a
23 public JniException() {
27 * Constructs an <code>JniException</code> with a detail message.
29 * @param s the detail message.
30 */ public JniException(String s) {
33 public JniException(String string, Exception e) {