2 * This exception is raised when there is a problem within the bindings (in JNI).
4 * Copyright 2006-2012 The SimGrid Team
7 * This program is free software; you can redistribute
8 * it and/or modify it under the terms of the license
9 * (GNU LGPL) which comes with this package.
11 package org.simgrid.msg;
14 * This exception is raised when there is a problem within the bindings (in JNI).
15 * That's a RuntimeException: I guess nobody wants to survive a JNI error in SimGrid
17 public class JniException extends RuntimeException {
18 private static final long serialVersionUID = 1L;
22 * Constructs an <code>JniException</code> without a
25 public JniException() {
29 * Constructs an <code>JniException</code> with a detail message.
31 * @param s the detail message.
32 */ public JniException(String s) {
35 public JniException(String string, Exception e) {