1 /* This exception is raised when there is a problem within the bindings (in JNI). */
3 /* Copyright (c) 2006-2016. The SimGrid Team. All rights reserved. */
5 /* This program is free software; you can redistribute it and/or modify it
6 * under the terms of the license (GNU LGPL) which comes with this package. */
8 package org.simgrid.msg;
11 * Exception 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;
19 /** Constructs an <code>JniException</code> without a detail message. */
20 public JniException() {
23 /** Constructs an <code>JniException</code> with a detail message. */
24 public JniException(String s) {
27 public JniException(String string, Exception e) {