equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2019, 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 |
34 */ |
34 */ |
35 public class InvocationException extends Exception { |
35 public class InvocationException extends Exception { |
36 |
36 |
37 private static final long serialVersionUID = 6066780907971918568L; |
37 private static final long serialVersionUID = 6066780907971918568L; |
38 |
38 |
|
39 @SuppressWarnings("serial") // Not statically typed as Serializable |
39 ObjectReference exception; |
40 ObjectReference exception; |
40 |
41 |
41 public InvocationException(ObjectReference exception) { |
42 public InvocationException(ObjectReference exception) { |
42 super("Exception occurred in target VM"); |
43 super("Exception occurred in target VM"); |
43 this.exception = exception; |
44 this.exception = exception; |