1 /* Copyright (c) 2006-2021. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 package org.simgrid.msg;
8 /** Used internally to interrupt the user code when the process gets killed.
11 * You can catch it for cleanups or to debug, but DO NOT BLOCK IT, or your simulation will segfault!
13 * .. code-block:: java
17 * } catch (ProcessKilledError e) {
18 * e.printStackTrace();
25 public class ProcessKilledError extends Error {
26 private static final long serialVersionUID = 1L;
27 public ProcessKilledError(String s) {