equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
35 * @since 1.3 |
35 * @since 1.3 |
36 */ |
36 */ |
37 public class VMStartException extends Exception { |
37 public class VMStartException extends Exception { |
38 |
38 |
39 private static final long serialVersionUID = 6408644824640801020L; |
39 private static final long serialVersionUID = 6408644824640801020L; |
|
40 |
40 Process process; |
41 Process process; |
41 |
42 |
42 public VMStartException(Process process) { |
43 public VMStartException(Process process) { |
43 super(); |
44 super(); |
44 this.process = process; |
45 this.process = process; |
45 } |
46 } |
46 |
47 |
47 public VMStartException(String message, |
48 public VMStartException(String message, Process process) { |
48 Process process) { |
|
49 super(message); |
49 super(message); |
50 this.process = process; |
50 this.process = process; |
51 } |
51 } |
52 |
52 |
53 public Process process() { |
53 public Process process() { |